¿ Me ayudas a arreglar este código porfavor? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

¿ Me ayudas a arreglar este código porfavor?

13th Mar 2020, 8:57 PM
Aleh
Aleh - avatar
4 Answers
0
Nose como hacer que funcione
13th Mar 2020, 8:58 PM
Aleh
Aleh - avatar
0
#include <iostream> using namespace std; int main() { int number; // if you declare it as a then use that only. cout<<"escriba su numero favorito.\n."; cin >> number; if(number==1){ //== comparison operator, = is assignment operator. cout <<number <<endl <<" usted es gay" <<endl; cout <<"*xd*"; } if(number == 2){ cout <<number <<endl <<" te gusta jugar al teto" <<endl; cout <<"*y lo sabes*"; } }
13th Mar 2020, 9:02 PM
Jayakrishna 🇮🇳
0
Gracias
15th Mar 2020, 2:31 PM
Aleh
Aleh - avatar
0
Aleh Wel come
15th Mar 2020, 3:21 PM
Jayakrishna 🇮🇳