PROGRAMMING GURU25
Find the best
Pages
C Language - Home
C++
SQL
Showing posts with label
Operators
.
Show all posts
Showing posts with label
Operators
.
Show all posts
C program to find the area of a square.
#include<stdio.h>
void main()
{
float side;
printf("Enter length of a side:");
scanf("%f",&side);
printf("Area of Square is: %.2f", side*side);
}
Output of the Program:
Enter length of a side:5
Area of Square is: 25.00
Older Posts
Home
Subscribe to:
Comments (Atom)