0
What's the prolem? Test 2 failet
#include <iostream> using namespace std; int main() { int peso,dollar; double coll; cin>>peso,dollar; coll=peso/50; if (coll>=dollar) { cout<<"Dollars"<<endl; } else{ cout<<"Pesos"<<endl; } return 0; }
3 Respuestas
+ 2
You input is incorret. The correct is:
cin>>peso>>dollar;
0
Thank you
- 1
1 dollar = 50 pesos