#include<conio.h> #include<stdio.h> void main() { int length,breadth,area_of_rectangle; clrscr(); printf("Enter the Length="); scanf("%d",&length); printf("Enter the Breadth="); scanf("%d",&breadth); area_of_rectangle=length*breadth; printf("Area of rectnagle is=%d",area_of_rectangle); getch(); } |
basically this is a a my own blog to help ma students and friends with sharing useful information with the. information regarding C language code. .net applications, .net projects. general technical information. notes.
Monday, 21 November 2011
Write a Program to calculate area of a Rectangle
Labels:
C Programs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment