diff options
| author | Hannah Wu <[email protected]> | 2022-10-25 23:47:38 -0700 |
|---|---|---|
| committer | Hannah Wu <[email protected]> | 2022-10-25 23:47:38 -0700 |
| commit | 2057b0a5b358bb73cdb16ece83e7ff50d55c7354 (patch) | |
| tree | feedb48e055329d7327327ed36f142903097cba7 /BlankConsoleLab/BlankConsoleLab.cpp | |
| parent | Added user input for kite length and width. (diff) | |
| download | cst116-lab1-wu-2057b0a5b358bb73cdb16ece83e7ff50d55c7354.tar.xz cst116-lab1-wu-2057b0a5b358bb73cdb16ece83e7ff50d55c7354.zip | |
added printout of inputs
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 930a4bb..cd57d54 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -3,6 +3,7 @@ #include <iostream> + using namespace std; using std::cout; @@ -18,5 +19,8 @@ int main() cout << "Enter the length of the kite in meters." << endl; cin >> length; + + cout << "You have entered " << width << " for width." << endl; + cout << "You have entered " << length << " for length." << endl; } |