diff options
| author | Andrei F <[email protected]> | 2022-10-19 21:23:01 -0700 |
|---|---|---|
| committer | Andrei F <[email protected]> | 2022-10-19 21:23:01 -0700 |
| commit | dffb264afa1381b522d04e4c81200f61c705516d (patch) | |
| tree | 800d1e7899201cc975f595f3bd2abac3365209c1 /BlankConsoleLab/BlankConsoleLab.cpp | |
| parent | Added .gitignore (diff) | |
| download | cst116-lab1-florea-dffb264afa1381b522d04e4c81200f61c705516d.tar.xz cst116-lab1-florea-dffb264afa1381b522d04e4c81200f61c705516d.zip | |
Finished step 1
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index ed5f807..b8ebf9d 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -1,5 +1,11 @@ -// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. -// +/* + * Andrei Florea - CST 116 - Lab 1 (Part 1 and Part 2) - Learning input, output, if statements, loops, simple + * calculations + * + * The purpose of this program is to take input regarding kite specifications and output + * if the kite is efficient at flying or if it is able to fly. + * + */ #include <iostream> @@ -11,6 +17,14 @@ using std::endl; int main() { - cout << "Hello World!\n"; + float width, length; + + cout << "Please enter the WIDTH of your kite in centimeters (decimals are OK): "; + cin >> width; + cout << "Please enter the LENGTH of your kite in centimeters (decimals are OK): "; + cin >> length; + + + } |