Question: Program 1 : Basic I / O , addition A program to read two numbers and print their sum: Program 2 : if / else
Program : Basic IO addition
A program to read two numbers and print their sum:
Program : ifelse ifelse
A program to read and compare two numbers, with different output based on relative values:
prints X then Y if X is bigger prints Y then X if Y is bigger just prints X if they are equal
Program : Loops
A program to get the user to enter an integer less than repeats until a valid response is given
Program : Arrays
A program to get an array size from the user, fill the array with user input, then print the array content.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
