Write a C program, which takes two integer operands and one operator from the user, performs the operation and then prints the result. (Consider the operators +,-,*, /, % and use Switch Statement)
Create a class complex that contains two double data members. Overload +, -, and * arithmetic operators, so that they can operate on the object of complex. Then find the expression a-b*c + d (where a, b, c, and d are complex objects).