question 1
1- Write an algorithm to draw the below graph by using loop . the algorithm is allowing the user to enter how many rows to print the Owl . The below graph shows that the user entered 6 rows.
2- Draw the flowchart for the algorithm
3- Build your algorithm by OUbuild, and provide three screenshots for the output that shows 3 rows, 5 rows and 8 rows of owls. Hint[First line the algorithm printing five spaces and one Owl ] [Second line the algorithm printing four spaces and two Owls ]
question 2.
Use the OUBUILD to build an algorithm as following:
2-Declare a variable called mean and then calculate the mean for the both variables
3-Ask the user to press space bar to getthe question which is “ what is the mean fornumber1 and number2 ”
4-The user has three attempts to write the right answer; if the user answer the correct answer within the three attempts then a message will appear “ correct thanks ” otherwise the message will be “ Wrong, try again ”. If the user has done the three attempts with wrong answers then a final message will be “Wrong answer ” and No more attempts
5-Draw the flowchart for the above algorithm