From dffb264afa1381b522d04e4c81200f61c705516d Mon Sep 17 00:00:00 2001 From: Andrei F Date: Wed, 19 Oct 2022 21:23:01 -0700 Subject: Finished step 1 --- BlankConsoleLab/BlankConsoleLab.cpp | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') 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 @@ -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; + + + } -- cgit v1.2.3