Click Here To Follow our Telegram Channel for more such news and amazing free stuffs.
Telegram Channel - https://t.me/codexelltech
import java.util.Scanner;
class P_circle
{
public static void main(String args[])
{
Scanner s=new Scanner(System.in);
System.out.println("Enter the radius:");
double r=s.nextDouble();
double c= (2*22*r)/7;
System.out.println("Perimeter of the circle is=" +c);
}
}
Output:
Enter the radius:
7
Perimeter of the circle = 44
Click Here To Follow our Telegram Channel for more such news and amazing free stuffs.
Telegram Channel - https://t.me/codexelltech
Click here to visit www.codexell.tech for more such references.
Telegram Channel - https://t.me/codexelltech
import java.util.Scanner;
class P_circle
{
public static void main(String args[])
{
Scanner s=new Scanner(System.in);
System.out.println("Enter the radius:");
double r=s.nextDouble();
double c= (2*22*r)/7;
System.out.println("Perimeter of the circle is=" +c);
}
}
Output:
Enter the radius:
7
Perimeter of the circle = 44
Click Here To Follow our Telegram Channel for more such news and amazing free stuffs.
Telegram Channel - https://t.me/codexelltech
Click here to visit www.codexell.tech for more such references.