Responsive Advertisement
* Write a Program and Algorithm to find the Area of rectangle Number by using C Program.
Algorithm :
Program :
#include<stdio.h>
#include<conio.h>
void main()
{
int length,breathe,Area;
clrscr();
printf( "Enter the length and breathe of area of rectangle" );
scanf("%d%d",&length,&breathe);
Area=length*breathe;
printf( " Area of rectangle :: ",Area);
getch();
}
output
Enter the length and breathe of area of rectangle = 11 ↲
20 ↲
Division of two number:: 22
* Write a Program and Algorithm to find the Area of rectangle Number by using C Program.
Algorithm :
- Start
- Read the value of length ,breathe and Area.
- Enter the value of Length.
- Enter the value of Breathe.
- Calculation, Area=Length*breathe;
- Print the value of area of rectangle number "Area".
- Stop.
Program :
#include<stdio.h>
#include<conio.h>
void main()
{
int length,breathe,Area;
clrscr();
printf( "Enter the length and breathe of area of rectangle" );
scanf("%d%d",&length,&breathe);
Area=length*breathe;
printf( " Area of rectangle :: ",Area);
getch();
}
output
Enter the length and breathe of area of rectangle = 11 ↲
20 ↲
Division of two number:: 22
Thanks for visit this page and Support me.
No comments:
Post a Comment