diff options
| author | Bold Demchig <[email protected]> | 2022-11-02 20:55:52 -0700 |
|---|---|---|
| committer | Bold Demchig <[email protected]> | 2022-11-02 20:55:52 -0700 |
| commit | e3a548321784429e3a2dc0bbf2de7fccf13da001 (patch) | |
| tree | 04e542dd16a71176b00c0230374f42f167f1ae72 /CST116-Ch11-Debugging/CST116-Midterm-Bold-Demchig.cpp | |
| parent | Initial commit (diff) | |
| download | cst116-ch11-debugging-batbold74-e3a548321784429e3a2dc0bbf2de7fccf13da001.tar.xz cst116-ch11-debugging-batbold74-e3a548321784429e3a2dc0bbf2de7fccf13da001.zip | |
Hello Professor Martha, I had to push my Midterm
Exam here. I could not get into Canvas.!
Diffstat (limited to 'CST116-Ch11-Debugging/CST116-Midterm-Bold-Demchig.cpp')
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Midterm-Bold-Demchig.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Midterm-Bold-Demchig.cpp b/CST116-Ch11-Debugging/CST116-Midterm-Bold-Demchig.cpp new file mode 100644 index 0000000..29a40b2 --- /dev/null +++ b/CST116-Ch11-Debugging/CST116-Midterm-Bold-Demchig.cpp @@ -0,0 +1,29 @@ +/* +DEMCHIG BOLD +MIDTERM EXAM +*/ + +#include <iostream> + +using std::cin; +using std::cout; +using std::endl; + +int main() { + + int array[10]; + int class_number = 0; + char name; + float gpa = 0; + + cout << "Please enter class number: " << endl; + for (int i = 0; i < 10; i++) + { + cin >> array[i]; + } + + cout << "Class number: " << array; + + + return 0; +}
\ No newline at end of file |