Question: asappo ITEC113-Assignment DUE DATE: ON OR BEFORE 20/01/2022, 11:59PM HOW TO SUBMIT: Copy and paste your solutions inside a single Word file, name the file

asappo
asappo ITEC113-Assignment DUE DATE: ON OR BEFORE 20/01/2022, 11:59PM HOW TO SUBMIT:

ITEC113-Assignment DUE DATE: ON OR BEFORE 20/01/2022, 11:59PM HOW TO SUBMIT: Copy and paste your solutions inside a single Word file, name the file as studentNo Lab assignment and upload to Ims. Q1) Write a program that asks the user to enter two numbers, obtains the two numbers from the user and prints the sum, product, difference, quotient and remainder of the two numbers. 02) Write a program that prints the numbers 1 to 4 on the same line. Write the program using the following methods. a) Using one printf statement with no conversion specifiers. b) Using one printf statement with four conversion specifiers. c) Using four printf statements. Q3) Write a program that asks the user to enter two integers, obtains the numbers from the user, then prints the larger number followed by the words "Is larger. If the numbers are equal, print the message These numbers are equal." Use only the single-selection form of the If statement Q4) Write a program that Inputs three different integers from the keyboard, then prints the sum, the average, the product, the smallest and the largest of these numbers. Use only the single-selection form of the If statement you learned in this chapter. The screen dialogue should appear as follows

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!