0

Need help in Argentina

#include <iostream> using namespace std; int main() { int pesos, dollars, dinp; cin >> pesos; cin >> dollars; dinp = dollars * 50; if(pesos > dinp){ cout << "Dollars"; } else{ cout << "Pesos"; } return 0; } Hi guys this my code can anybody help me

12th Sep 2020, 1:41 PM
Shravan Mathapati
Shravan Mathapati - avatar
3 Antworten
+ 4
see this int dinp= pesos/50; if(dinp> dollar){ printf("Dollars"); } else{ printf("Pesos"); }
12th Sep 2020, 1:44 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 4
Nasif Rahman don't worry he will change 😂😂
12th Sep 2020, 1:52 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
😅🐍🐍😆 thank you it worked
13th Sep 2020, 5:21 PM
Shravan Mathapati
Shravan Mathapati - avatar