Question: make this matlab program work . Problem Statement: Using a repetition, write a program that will ask the user to enter a character from left
make this matlab program work .

Problem Statement: Using a repetition, write a program that will ask the user to enter a character from left or right. Then, the user will enter a number. The program should generate a ladder of an integer from 1-9 only, wherein the level depends on the number entered, and the character should dictate whether it faces right or left. Sample Output: Input a Character: R Input a Number: 3 il Output 1 22 333 Input a Character: R Input a Number: 6 1 2 1 22 333 4444 Criteria Proper output for a triangle facing left Proper output for a triangle facing right 55555 666666 Input a Character: L Input a Number: 5 1 21 321 4321 54321 Laboratory Exercise Score Sheet Total 50 50 100 Score
Step by Step Solution
There are 3 Steps involved in it
The problem statement asks you towrite a program that will ask the user to enter a character from left or right Then the user will enter a number The ... View full answer
Get step-by-step solutions from verified subject matter experts
