Responsive Advertisement

C# Calculate Rectangle Area – Programming, Pseudocode Example, C#  Programming Example

* Write a Program and Algorithm to find the Area of rectangle Number by using C Program.

Algorithm :

  1. Start
  2. Read the value of length ,breathe and Area.
  3. Enter the value of Length.
  4. Enter  the value of Breathe.
  5. Calculation, Area=Length*breathe;
  6. Print the value of area of rectangle number "Area".
  7. 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.
https://mrpankajcse.blogspot.com/                                     

No comments:

Post a Comment

Pages