Computer Science, asked by sagnik29, 11 months ago

. Which of the following is a compound statement?
(a) p=Integer.parseInt(in.readLine());
(b) c=++a;
(c) if(a>b) a++; b--;
(d) a=4;

Answers

Answered by rjrock3
16

Answer:

write answer is ( c) if (a>b) a++; b--;

Answered by qwnerazzuri
3

if(a>b) a++; b--; is a compound statement Option(c).

a statement is called a compound statement only if more than one command is written in a single line. This statement is executed when the conditions are satisfied.

Similar questions