Write a program to accept radius of a circle and calculate its diameter. Print both radius and diameter.
Write two outputs. {Use scanf() to accept values}
Answers
Answered by
0
Answer:
sorry sorry sorry I don't know
Answered by
9
Answer:
#include<studio.h>
int main()
{
float r,d;
printf("/n Enter the radius");
scanf("%f",&r);
d=2r;
printf("/n RADIUS = %f ",r);
printf("/n DIAMETER = %f ",d);
return 0;
}
Similar questions