diff options
| author | abd00l4h <[email protected]> | 2022-10-05 16:42:12 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-05 16:42:12 -0700 |
| commit | 94742a8f4bac90938e7ee4c1211777a5d05bf7c3 (patch) | |
| tree | 680b6b3e59e81a94abc6c44a0de05af9bd73ac21 /Ch 5 Debugging Project/test.cpp | |
| parent | Create test.cpp (diff) | |
| download | cst116-lab0-debugging-abd00l4h-main.tar.xz cst116-lab0-debugging-abd00l4h-main.zip | |
Diffstat (limited to 'Ch 5 Debugging Project/test.cpp')
| -rw-r--r-- | Ch 5 Debugging Project/test.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/Ch 5 Debugging Project/test.cpp b/Ch 5 Debugging Project/test.cpp deleted file mode 100644 index 42471ae..0000000 --- a/Ch 5 Debugging Project/test.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - -CST116 C++ Programming -Project 1 Part 1 -Abdullah Havaldar - Phone: 503-764-5753 - Email: [email protected] - -Purpose: -To take in the Name, Income, and GPA of 4 people -Print them out with appropriate headings -Headings and data must line up -Must use Manipulators -Use appropriate data types to store the data - -*/ - -#include <iostream>; -#include <list>; -using std::cout; -using std::endl; - -int main() -{ - string name; - int income; - float gpa; - - cout << "Enter your name: "; - cin >> name; - - cout << "Enter your income: "; - cin >> income; - - cout << "Enter your GPA: "; - cin >> gpa; - - cout << "Person 1's name is "; - cout << name << endl; - cout << ". Their income is "; - cout << income << endl; - cout << ". Their GPA is "; - cout << gpa << endl; -} |