diff options
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; + + + } |