Assignment 1
Write a program that accepts three integers x, y, and z, and prints the value of (x+y), (x-y),
(2x+3), (y-2/z), (y/z) and (x/(y+z)). The program should warn if the denominator for division is
zero and should exit the program with informative error code to the operating system.
PS: The program should be coded in both C and C++.
|