Logo 
Search:

C Programming Forum

Ask Question   UnAnswered
Home » Forum » C Programming       RSS Feeds

programming: problem definition

  Asked By: Elaine    Date: Jul 26    Category: C Programming    Views: 895
  

how can i create a table and write a program to compute tha diameter of a circle?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Abhishek Singh     Answered On: Aug 10

logic..............


for table..

for(i=1;i<10;i++)
{
printf("%d",m*i); m for table
}
for diameter..
enter radius r
printf("%d",2*r);

 
Didn't find what you were looking for? Find more on programming: problem definition Or get search suggestion and latest updates.




Tagged: