Question: Use for loop to create M shape ( note there is no space between two triangles at the bottom ) Use while loop to find

Use for loop to create M shape (note there is no space between two triangles at
the bottom)
Use while loop to find out the smallest number (user can enter as many numbers as
they want, -1 is used to stop the entry
Enter a number (-1 is used to stop the program): 5
Enter a number: 6
Enter a number: 2
Enter a number: 9
Enter a number: 11
Enter a number: 6
Enter a number: -5
Entel a number: 22
Enter a number: -1
-5 is the smallest
Part 1: M shape stars (50%)
Part 2: Find the smallest number (50%)
Use for loop to create M shape ( note there is no

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!