Question: Create a C program that will produce the following output. 1. x equals 10. 2. x equals 9. 3. x equals 8. 4. x equals
Create a C program that will produce the following output.
1. x equals 10.
2. x equals 9.
3. x equals 8.
4. x equals 7.
5. x equals 6.
6. x equals 5.
7. x equals 4.
8. x equals 3.
9. x equals 2.
10. x equals 1.
RULES:
You are not permitted to use the following commands:
while
do while
for
goto (by the way, you are NEVER ALLOWED TO USE goto)
You are not permitted to design a printf statement with more than one
You are only allowed to have a single printf statement
You must write one and only one function (other than main)
HINT: You will probably need to teach yourself something that was definitely not taught in COP1000. Try Google, YouTube, TheNewBoston, CodeAcademy, or if you have anyyour friends.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
