What will be the output this program?
Attachments:
Answers
Answered by
0
value of i=32
value of j=15
value of k=553
Answered by
0
C++ Programming Language.
Output:
1616296
Explanation:
In the above program that is written in the C++ Programming Language.
- Firstly, declare three integer data type variables that are 'i', 'j', and 'k' and initialize 1, 20, and 31 in the following variables.
- Set the while loop that iterates when the variable 'i' is greater than variable 'j' then, the variable 'k' added the multiplication of the variable 'i' from the variable 'j' and the variable 'i' is incremented by the 2 times then, decrement in the variable 'j' by 1.
- Finally, prints the following variables.
Learn More:
https://brainly.in/question/12772237
Similar questions