Question: Write a C program that asks the user to enter the sum and difference of 2 integer numbers. The program will find the 2

Write a C program that asks the user to enter the sum and difference of 2 integer numbers. The program will find the 2 numbers and display them as shown below. Input validation: sum plus difference must be even Sample runs Enter value of a+b > 8 Enter value of a-b > 5 Wrong input sum+dif must be even Enter value of a+b > 9 Enter value of a-b > 7 a = 8 b = 1 Enter value of a+b > 12 Enter value of a-b > 16 a = 14 b = -2 Slide Type
Step by Step Solution
There are 3 Steps involved in it
include stdio h int main int sum diff a b printfEnter value of ab scanfd s... View full answer
Get step-by-step solutions from verified subject matter experts
