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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
#include <iostream>
#include <string>
#include <array>
using namespace std;
int main()
{
string topics[5]{"World Hunger", "Government Oppression", "Genocide", "Disease", "Educational Deficiencies"};
int HiPoints = 0;
int LowPoints = 10;
int a;
int b;
int c;
int d;
int e;
int entries[5][10] = {{0,1,2,3,4,5,6,7,8,9},{0,1,2,3,4,5,6,7,8,9},{0,1,2,3,4,5,6,7,8,9},{0,1,2,3,4,5,6,7,8,9},{0,1,2,3,4,5,6,7,8,9}};
cout << "Rate the importance of these topics from 1-10 (10 being most important) \n";
cout << "1: " << topics[0] << endl;
cout << "2: " << topics[1] << endl;
cout << "3: " << topics[2] << endl;
cout << "4: " << topics[3] << endl;
cout << "5: " << topics[4] << endl;
cout << endl;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
cin >> e;
a == entries[4][0];
b == entries[4][1];
c == entries[4][2];
d == entries[4][3];
e == entries[4][4];
cout << endl;
cout << "1: " << entries[4][0] << endl;
cout << "2: " << entries[4][1] << endl;
cout << "3: " << entries[4][2] << endl;
cout << "4: " << entries[4][3] << endl;
cout << "5: " << entries[4][4] << endl;
return 0;
}
|