what will be the output of the following. double c=100;. while(c>20) { system.out.println("value::"+c); c=20; }
Answers
Answered by
0
Answer: There will be two errors
error: request for member ‘out’ in ‘system’, which is of non-class type ‘int(const char*)’
error: invalid operands of types ‘const char [8]’ and ‘double’ to binary ‘operator+’
Similar questions