myCompiler myCompiler
Deutsch English Español Français Italiano 日本語 한국어 Nederlands Polski Português
Recent
Login Sign up
Recent
Login Sign up
K

@karthikeyasharma000

Write a C program to enter length and breadth of a rectangle and find its area.

C
4 years ago
#include<stdio.h> int main(){ int l=4,b=6; printf("Enter the lenght =%d\n",l); scanf("%d",&l); printf("Enter the breath =%d\n",b); scanf("%d",&b); int a=l*b; printf("Area=%d",a); }
Previous Next page

Supported languages

Deno JavaScript NodeJS Python Ruby Go C C++ Java C# TypeScript PHP Bash R Octave (MATLAB) Fortran Lua Erlang SQL MySQL MongoDB Clojure D Perl Kotlin Swift Rust Assembly
© 2026 mycompiler.io
Terms of service Privacy policy Contact us