Write A C Program To Find Area Of A Rectangle

 

Write A C Program To Find Area Of A Rectangle

/* Author --> HARSH PATEL */
#include<stdio.h>
int main()
{
    int width=10;
    int height=20;

    int area=width*height;;

    printf("Area Of Rectangle=%d",area);

}

output

Area Of Rectangle=200

 
•now the program ends without any error.


Popular posts from this blog

C Program To Print Hello World

Declare And Initialize Two Character Constants And Output It To User

C Program To Calculate Profit Or Loss