Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Carlos' Trivia Time!
- #include <iostream>
- #include <string>
- using namespace std;
- int score = 0;
- int main(){
- string in;
- cout << "----------------------------------------\n";
- cout << "------------[Carlos' Trivia]------------\n";
- cout << "Rules: Answer 'y' or 'n' then hit enter.\n";
- cout << "----------------------------------------\n\n\n";
- cout << "Are Dolphins The Only Animals Who Can Recognize Themselves In The Mirror?\n\n[y/n]:";
- cin >> in;
- if(in == "y"){
- cout << "Incorrect! Monkeys Can Do It, Too!\n";
- }else{
- score+=50;
- cout << "Correct! Monkeys Can Do It, Too!\n";
- }
- cout << "Did You Know If You Don't Take Risks Then...Well... You Don't Take Any Risks?\n\n[y/n]:";
- cin >> in;
- if(in == "y"){
- score+=50;
- cout << "Correct...I Think? Carlos Does Too Many Drugs..\n";
- }else{
- cout << "Inorrect...I Think? Carlos Does Too Many Drugs..\n\n";
- }
- cout << "\nScore: [" << score << "/100]\n\n";
- cout << "Press Any Key To Close";
- system("pause > nul");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement