Skip to content

A simple C program to calculate the area of a rectangle based on user input. Perfect for beginners learning C and basic geometry logic.

License

Notifications You must be signed in to change notification settings

pycrafter-taha/rectangle-calculator-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rectangle Area Calculator in C

This is a simple C program that calculates the area of a rectangle based on user input for length and width.


πŸ“‹ Features

  • Takes input from the user
  • Calculates area using the formula length * width

βœ… Requirements

  • A C compiler (like GCC)
  • Basic terminal or command line usage
  • Works on Windows, Linux, or macOS

πŸ’‘ To run this, make sure you have gcc or any C compiler installed.
You can install GCC via:

  • Windows: MinGW
  • Linux: sudo apt install build-essential
  • macOS: Install Xcode Command Line Tools with xcode-select --install

--~~

About

A simple C program to calculate the area of a rectangle based on user input. Perfect for beginners learning C and basic geometry logic.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages