Want this question answered?
Rewrite the above program so that the program accepts any value for the radius then recalculate the area of the circle.
In which computer language?
#include<stdio.h> void main() { int r=10; float pi=3.14,c; c=pi*r*r; printf("Area of the circle=%f",c); getch(); }
give an example of calculation of mathematics
Area of any circle = pi*radius squared
Rewrite the above program so that the program accepts any value for the radius then recalculate the area of the circle.
In which computer language?
mesh's basic salary is input through the keyboard. his dearness allowance is 40% of basic salarying , and house rent allowance is 20% of basic salaried. write a program to calculate his gross salary
#include<stdio.h> void main() { int r=10; float pi=3.14,c; c=pi*r*r; printf("Area of the circle=%f",c); getch(); }
write a program draw circle and ellipse by using oval methods in java
auto 10 screen 1 20 circle (160,100), 50 30 end in screen 2 auto 10 screen 2 20 circle (320,100), 200 30 end by: Tariq Ismail.
int first= 1;
That really depends on what sort of program you are trying to build, what do you want the program to do?
dim a input a
// macro definitions: #define PI 3.14159265358979323846 #define CIRCUMFERENCE(radius) (2. * (radius) * PI) // use this as in CIRCUMFERENCE(21.34)
Remember that the area of a rectangle is width * height: static int getArea(Rectangle r) { return r.width * r.height; }
give an example of calculation of mathematics