Skip to content

scottgriv/cpp-room_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


C++ Badge
GitHub Badge Email Badge BuyMeACoffee Badge
Bronze


C++ Room Square Footage Calculation Demo

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.


Table of Contents

Getting Started

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.cpp file 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;

Resources

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.

Credits

Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: linktr.ee/scottgriv
Reference: Main Branch


About

C++ demo to get the sum square footage of multiple rooms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages