0
what is this operation mean? i found it on chalange task;
#include <iostream> using namespace std; int main() { int a = 5; int b = 55; int c = 555 int d = (c%b > c%a)?5:55; cout<< d; return 0; }
2 Réponses
+ 7
It is a condtional statement. Same as If statement
It can be rewritten as:
if (c%b>c%a)
d=5;
else
d=55;
+ 1
oooo...
thanks sweet;