I am having a doubt whether using a lot of functions actually increase your execution time. I had recently had a probelm to calculate the sum of areas of 10 circles . The problem might contain two functions one for calculating the area link float area () and another for sum like float sum () .
I have done the program without functions like :
cout<<"Enter the radius of 10 circles \n " ;
cout<<"The sum of areas of 10 circles is "<
I would like to get the comments on this program and the ways to improve the same .