+ 1
Please help me complete this program to enable me get an output of y int main() { int x = 9; int y = x % 5; x= ; cout<<x*y ;
4 Answers
+ 3
This will print the value of y:
int main() {
int x = 9;
int y = x % 5;
x = 1;
cout<<x*y;
}
+ 1
delete x= ; line
+ 1
He is right... add the curly brace in the end too...might not be getting your ans due to that.
0
if there are also x=9 so why the second last line wrote the X=1 plz explain it