From 1577303be92bd63c5614341fe826cbad86f3b505 Mon Sep 17 00:00:00 2001 From: Wyatt Date: Tue, 18 Oct 2022 20:12:53 -0700 Subject: first changes --- BlankConsoleLab/BlankConsoleLab.cpp | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index ed5f807..21341ed 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -1,16 +1,32 @@ // BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. // +/* + Wyatt Johnson + CST 116 + Lab1 +*/ #include using namespace std; -using std::cout; -using std::cin; -using std::endl; int main() { - cout << "Hello World!\n"; + float width = 0, height = 0; + float area; + + cout << "Please input your kites width: "; + cin >> width; + + cout << endl; + + cout << "Please input your kites height: "; + cin >> height; + cout << endl; + + cout << "Your kites width will be: " << width << "\nYour kites height will be: " << height << endl; + + } -- cgit v1.2.3