mycsvilla

We explore our idea through technology

WE DESIGN WEBSITE AND SOFTWARE OF ANY KIND.CLICK CONTACT MENU TO CONTACT US

Saturday, 22 September 2018

c programming to print a circle

                                                        Area Of Circle
 Compile and run using your favourite compiler

#include<stdio.h>

int main()
{

    double r=5.5;
    double pi=3.1416;
    double area=pi*r*r;

    printf("%.2lf\n",area);

    return 0;
}


Compile and run using your favourite compiler and result will be giving to you

RESULT:
95.03

No comments:

Post a Comment