diff options
| author | EdwardFine <[email protected]> | 2022-10-05 16:05:45 -0700 |
|---|---|---|
| committer | EdwardFine <[email protected]> | 2022-10-05 16:05:45 -0700 |
| commit | bc99b57ce57a44541b90bb31e214460cd521963d (patch) | |
| tree | 69a887f8bc0ba4e5c1f6eb772fef44a5e08474d5 /BlankConsoleLab/CST116-Lab1-Fine.cpp | |
| parent | Setting up GitHub Classroom Feedback (diff) | |
| download | cst116-lab1-edwardfine-bc99b57ce57a44541b90bb31e214460cd521963d.tar.xz cst116-lab1-edwardfine-bc99b57ce57a44541b90bb31e214460cd521963d.zip | |
Prompt for Length and Width
Diffstat (limited to 'BlankConsoleLab/CST116-Lab1-Fine.cpp')
| -rw-r--r-- | BlankConsoleLab/CST116-Lab1-Fine.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/BlankConsoleLab/CST116-Lab1-Fine.cpp b/BlankConsoleLab/CST116-Lab1-Fine.cpp new file mode 100644 index 0000000..b46897c --- /dev/null +++ b/BlankConsoleLab/CST116-Lab1-Fine.cpp @@ -0,0 +1,23 @@ +// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. +// + +#include <iostream> + +using namespace std; + +using std::cout; +using std::cin; +using std::endl; + +int main() +{ + int length; + int width; + + cout << "How long is your kite in centimeters? "; + cin >> length; + cout << endl << "How wide is your kite in centimeters? "; + cin >> width; + +} + |