Page 1 of 1

13.) What is the output of the following loop? int total =13; for (int num =1; num <=( total /2); num ++){ total = total

Posted: Thu Jul 14, 2022 2:27 pm
by answerhappygod
13 What Is The Output Of The Following Loop Int Total 13 For Int Num 1 Num Total 2 Num Total Total 1
13 What Is The Output Of The Following Loop Int Total 13 For Int Num 1 Num Total 2 Num Total Total 1 (39.84 KiB) Viewed 29 times
13.) What is the output of the following loop? int total =13; for (int num =1; num <=( total /2); num ++){ total = total − num; System.out.println( total +⋯⋯+ num);