Computer Science, asked by zuhaibahmad786, 2 months ago

Analyze the given program segment and answer the following questions:

for(int j=1; ; ++j )

{

System.out.print(" #@" );

if(j==3)

{System.out.print(j*3 );

break;

}

System.out.println(" $%" );

}


(i) How many times does the inner loop execute?

(ii) Write the output of the program segment ​

Answers

Answered by sahuhinjilicut
0

Explanation:

hi hope it will help you ...

Attachments:
Similar questions