write a c program to input the radius of a circle. calculate and print its (i)area (ii) circumference . {area =3.14*r*r,circumference=2*3.14*r}
Answers
Answered by
1
Answer:
I cannot understand your question to cause
Explanation:
r I ok ok ok ok
Answered by
2
How about java
import java.util.*;
class Bruh{
Void main(){
Scanner sc = new Scanner(System.in)
int r = sc.nextInt();
int a = 3.14*r*r;
Int c = 2*3.14*r;
System.out.println(“Area = “ + a);
System.out.println(“Circumference = “ + c);
}
}
It took a lot of work pls make me brainliest
import java.util.*;
class Bruh{
Void main(){
Scanner sc = new Scanner(System.in)
int r = sc.nextInt();
int a = 3.14*r*r;
Int c = 2*3.14*r;
System.out.println(“Area = “ + a);
System.out.println(“Circumference = “ + c);
}
}
It took a lot of work pls make me brainliest
Similar questions