Write a c program to calculate the area of a square - CodeTextPro | Web Tutorial | Technology

CodeTextPro.com Provides - Web design, Technology gyan, Digital marketing, Online earnings, Seo, Adsense, Technology news, Motivation and inspiration, Latest Technology Affairs, Gadgets, Blogging

Friday, January 4, 2019

Write a c program to calculate the area of a square

calculate the area of a square

#include<stdio.h>
#include<conio.h>
main()
{
float a,z=0;
printf("enter length of side of squair");
scanf("%f",&a);
z=(a*a);
printf("the area of a squair=%f",z);
getch();
}

No comments:

Post a Comment