C Program to Calculate Area of Rectangle
C Programming Language / Fundamentals of C Language
6897Program:
#include"stdio.h" int main() { int length, breadth, area; printf("\nEnter the Length of Rectangle : \n"); scanf("%d", &length); printf("\nEnter the Breadth of Rectangle : \n"); scanf("%d", &breadth); area = length * breadth; printf("\nArea of Rectangle : %d \n\n", area); return (0); }
Output:
Enter the Length of Rectangle : 6 Enter the Breadth of Rectangle : 7 Area of Rectangle : 42 Press any key to continue . . .
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS