What is wrong with the following loop?
While (sum <= 1000) {
sum = sum + 30;
}
a) The parenthesis should be braces.
b) The braces around sum = sum +30; should be removed.
c) While should be while.
d) There should be a semicolon after While (sum <=1000).
c) While should be while.
Computer Science & Information Technology