From a957aa1c10a647bbe94daeb51e8cfa26ebe4b39c Mon Sep 17 00:00:00 2001 From: Musa Ahmed Date: Wed, 5 Oct 2022 16:36:12 -0700 Subject: one person --- CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | 29 +++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp') diff --git a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp index b701ec9..61ec88f 100644 --- a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp +++ b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp @@ -4,6 +4,8 @@ #include #include #include +#include +using namespace std; using std::cout; using std::cin; using std::endl; @@ -11,10 +13,29 @@ using std::string; int main() { - string n1 = ""; - string n2 = ""; - string n3 = ""; - string n4 = ""; + string n1; + string n2; + string n3; + string n4; + + float g1; + + int i1; + + + + cout << "enter a name" << endl; + cin >> n1; + + cout << "enter a gpa" << endl; + cin >> g1; + + cout << "enter an income" << endl; + cin >> i1; + + + + -- cgit v1.2.3