Know the logic : Factorial of a number using C
In mathematics if we have been asked to find the factorial of any number then, we will start multiplying that number to it’s previous numbers until we reach 1.
Let's sail across an ocean of IT
In mathematics if we have been asked to find the factorial of any number then, we will start multiplying that number to it’s previous numbers until we reach 1.
Write a Java program to print the area and perimeter of a circle. import java.util.Scanner; //Author -> ITVoyagers, visit -> itvoyagers.in class Circle { public static void main(String[] args) { Float r, pi = 3.14f; Scanner s = new Scanner(System.in); System.out.println(“\nPlease enter the radius : “); //Author -> ITVoyagers, visit -> itvoyagers.in r = s.nextFloat(); … Read more
Write a Java program to print reverse pyramids. This program will help us to understand the working of nested for loop. It will help students with their studies