Question: Homework 2 First question: Write a C program that asks user to enter a number then prints one of these statements; if the user enters

 Homework 2 First question: Write a C program that asks user

Homework 2 First question: Write a C program that asks user to enter a number then prints one of these statements; if the user enters a positive number, prints "you enter a positive number." . if the user enters a negative number, prints "you enter a negative number." if the user enters a zero, prints "you enter zero.". hint: Use Switch statement. Second question: Modify on the previous program (Q5) to print the following shape: 10987654321 987654321 87654321 7654321 654321 54321 4321 321 21 1 execution time : 0.466 S Process returned @ (exe) Press any key to continue

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 Databases Questions!