0
Fix my code pls
Output: compilation erorr #include <iostream> using namespace std; int main() { int a; int b; int c; cin >> a; cin >> b; while (a/b >= 1){ c = a % b; a = a / b; cout >> c; } return 0; }
1 Resposta
+ 3
I haven't tried it, but change this line:
cout >> c;
To this:
cout << c;
And please, next time write code in code playground and share it, because it's hard to read plain text, and we can't run it to see the problem.