Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //assignment 2
- #include <iostream>
- using namespace std;
- int main()
- {
- int score;
- cout << "Enter a score between 0 and 1000\nScore: ";
- cin >> score;
- //0 score
- if (score == 0)
- {
- cout << "you shouldnt even get a point for spelling your name right\n";
- }
- //250 score
- else if (score <= 250)
- {
- cout << "not to bad for a 3 year old!!!!\n";
- }
- //score 500
- else if (score <= 500)
- {
- cout << "so close to being awesome but yous still suck xdxd\n";
- }
- //score 750
- else if (score <= 750)
- {
- cout << "learning you are young padawan";
- }
- //score 999
- else if (score >= 751)
- {
- cout << "you have skills give yourself to the darkside!";
- }
- //score 1000
- else if (score == 1000)
- {
- cout << "mace windu\n";
- }
- return -0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement