Question: Someone please help me code this in C! Description Write a program to prompt the user to input an integer n, and display a triangle
Someone please help me code this in C!
Description Write a program to prompt the user to input an integer n, and display a triangle pattern with n number of rows. Sample run A sample run of the program if the user input was 4 is as follows: Enter an integer> 4 Another sample run of the program if the user input was 3 is given as follows: Enter an integer> For any input less than 1 should print an error message as follows: Enter an integer> Input must be greater or equal to 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
