summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging/CST116-Midterm-Bold-Demchig.cpp
blob: 29a40b2316e127b153835297d71d0beb4981ee39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
}