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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
#include <iostream>
using namespace std;
// We got an error in the first funcion!
// Someone look into it! And tell me what was wrong, and how you fixed it!
string FirstQuestions(string FavorFood, string FavorAnimal, string FavorGame, string FavorHobby) {
cout << "What is your favor food?" << endl ;
cin >> FavorFood ;
cout << "What is your favor animal?" << endl ;
cin >> FavorAnimal ;
cout << "What is your favor game?" << endl ;
cin >> FavorGame;
cout << "What is your favor Hobby?" << endl ;
cin >> FavorHobby;
cout << "Thank you, I will now look into your anwsers \n\n\n\n" ;
return FavorAnimal, FavorFood, FavorGame, FavorHobby ;
}
int main (string FavorAnimal, string FavorFood, string FavorGame, string FavorHobby )
{
string FirstQuestions()
cout << "Since your favor food is " << FavorFood << " you like it!" << endl << endl;
cout << "Since your favor animal is " << FavorAnimal << " It's probebly fluffy. :3 " << endl << endl ;
if (FavorHobby == "gaming") {
cout << "My favor hobby is gaming as well!" << endl << endl ;
} else {
cout << "Since your favor hobby is " << FavorHobby << ", I beth it is fun." << endl << endl ;
}
cout << "Since your favor game is " << FavorGame << ", I beth it is awesome!" << endl << endl ;
return 0;
}
| |