A simple C++ console application that calculates the square footage of a room. This project was created to demonstrate the use of C++ in a real-world application. The program is designed to be simple and easy to understand. The program is also designed to be easily modified to fit your needs.
Run the main.cpp file in your terminal to start the program. The program will output the square footage of the room to the console.
- There are three total rooms it uses to calculate the sum of the square footage.
- Update the room dimensions in the
main.cppfile to change the square footage calculation.
//Room 1
int room1L = 12;
int room1W = 10;
int room1A;
//Room 2
int room2L = 9;
int room2W = 7;
int room2A;
//Room 3
int room3L = 12;
int room3W = 12;
int room3A;This project is released under the terms of The Unlicense, which allows you to use, modify, and distribute the code as you see fit.
- The Unlicense removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
- For more details, see the LICENSE file in this repository.
Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: linktr.ee/scottgriv
Reference: Main Branch