Note: In-progress
M M CCCCC BBBB MM MM C B B M M M C BBBB M M C B B M M CCCCC BBBBThe program has no input and no processing, just output. Make sure the letters look right!
Make sure to work out the answers in Loop Practice (from your readings). Make sure to do this before writing the code, then write a program called Loops that has the code for the valid loops. You may put anything inside the loops. Your program should print the answers like this:
Loop 1 executes N times. Loop 2 executes N times. Loop 3 executes N times. Loop 4 executes N times. Loop 5 executes N times. Loop 6 executes N times. Loop 7 executes N times.where N is a counter that calculates how many times the loop executes. If a loop is infinite, print out a message like this instead:
Loop 6 is an Infinite Loop.