Computer Science, asked by simalabhjnp599, 6 hours ago

write a Qbasic program to calculate the area and perimeter of circle​

Answers

Answered by sreyansranjan30
1

Explanation:

public class Perimeter_Area_Of_Circle

{

public static void main()

{

final double PI = 3.14 ;

int radius = 25 ;

double perimeter ;

perimeter = 2*PI*radius ;

area = 2*PI*radius*radius ;

System.out.println("Perimeter is":+ perimeter) ;

System.out.println("Area is" : + area) ;

}

}

Similar questions