Question 3:
1. Write a program that display the following pattern:
2. Update your previous code to get the user's number of * in the first line. The user should in put a value between 1-10. For example, if the user input 8 the output should be:
Tip: You need to use loop and if condition in your code.
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.