Computer Science, asked by hussainfatima7p2lg0x, 4 days ago

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 singavarapubaby
0

Answer:

sorry sorry sorry I don't know

Answered by subash209
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