- 3
Please type in a code to print to the screen the value of x divided by y. int x = 81; int y = 3; ______<< x ________ y
Help
7 odpowiedzi
+ 3
#include <iostream>
using namespace std;
int main(){
int x = 81;
int y = 3;
cout<<x/y;
return 0;
}
+ 2
cout << x / y;
that is, if you want integer divisions.
0
cout<<x/y;
0
cout<<x/y;
0
//A code to print to the screen the value of x divided by y.
int x = 81;
int y = 3;
cout<< x /y << endl;
0
0