1. a program that has a count of 10and has a while loop that decrements the count -1if the count is equal to 10 print 'a

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1. a program that has a count of 10and has a while loop that decrements the count -1if the count is equal to 10 print 'a

Post by answerhappygod »

1. a program that has a count of 10and has a while loop that decrements the count -1if the count is equal to 10 print 'almost there'else count equal to 10 divided by 2print '1/2 way there now.'else count divided by threeprint 'one more step to go'print countdown done, Display final count = 0
Your program must contain comments to explain each line of your code
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply