Question: Write a program that produces 9 9 9 9 9 8 8 8 8 8 7 7 7 7 7 6 6 6 6 6

Write a program that produces
9999988888777776666655555444443333322221111100000
99999888887777766666555554444433333222221111100000
99999888887777766666555554444433333222221111100000
99999888887777766666555554444433333222221111100000
99999888887777766666555554444433333222221111100000
Write a program that produces the following output using string multiplication and for loops:
999999999888888887777777666666555554444333221
999999999888888887777777666666555554444333221
999999999888888887777777666666555554444333221
999999999888888887777777666666555554444333221
Write a program that produces the following output using string multiplication and for loops:
----1-----
---333------
--7777777-
-99999999-
Write a program that produces the following output using string multiplication and for loops:
!!!!!!!!!!!!!!!!!!!!!!!
1!!!!!!!!!!!!!!!!!!??
111!!!!!!!!!!!!!!????
??111?!!!!!!!!!!????????
11111111!!!!!!!????????
1111111111!!????????????
Write a program that produces the following output using string multiplication and for loops:
*************????????????????************
*****??????????????****
****??????????1??********
***??????????1******
**????????****
*??????????????**
111111
Write a program that produces 9 9 9 9 9 8 8 8 8 8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!