229k views
2 votes
Pleaseeee answer correctly
Will mark Brianliest !!! HELP !

Pleaseeee answer correctly Will mark Brianliest !!! HELP !-example-1

1 Answer

1 vote

Answer: 11

The code would print 11 as x=x-4 basically sets x to what x was and subtracts it by 4 which means 15 was its previous value and it takes 4 away from it so it is now 11. Then because the loop condition is x=11 the loop condition has been met and will now go and display x.

User Prabodh M
by
6.1k points