Question: Conditional using C programming language. After passing the test, Cody's squad finally leaves for their journey. Cody had never tried traveling before so he feels

Conditional using C programming language.

Conditional using C programming language. After passing the test, Cody's squad finally

leaves for their journey. Cody had never tried traveling before so he

feels really stoked. Plus, he has less to worry about since he

doesn't get really tired because metal muscles don't really fatigue that quickly

and he is solarpowered. His friends, on the other hand, barely passed

the physical exam and can't go more than 99 steps without resting

After passing the test, Cody's squad finally leaves for their journey. Cody had never tried traveling before so he feels really stoked. Plus, he has less to worry about since he doesn't get really tired because metal muscles don't really fatigue that quickly and he is solarpowered. His friends, on the other hand, barely passed the physical exam and can't go more than 99 steps without resting (they are 5 years old after all). So, Cody is tasked to count/print the number of steps they've already taken and print "rest" once it goes over 99. Counting starts from 0. Sample Output 1 192021222324252627282930313233343536373839 404142434445464748495051525354555657585960 616263646566676869707172737475767778798081 828384858687888990919293949596979899rest

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 Databases Questions!