Question: Pre-Lab Quetions: 1)Write a program which inputs two numbers (from 0 to 9) from user and stores them in var and var2. You can use

Pre-Lab Quetions: 1)Write a program which inputs two numbers (from 0 to 9) from user and stores them in var and var2. You can use getchar subroutine to get an input. The program then prompts user to enteror symbol. If the user entersg, the program adds vari and var2 and displays result on screen. If the user enterssign, the program subtracts var2 from var1 and displays the result on screen. Pre-Lab Quetions: 1)Write a program which inputs two numbers (from 0 to 9) from user and stores them in var and var2. You can use getchar subroutine to get an input. The program then prompts user to enteror symbol. If the user entersg, the program adds vari and var2 and displays result on screen. If the user enterssign, the program subtracts var2 from var1 and displays the result on screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
