Question
calculator: Write a program that takes three command-line arguments: number operator number and performs the required operation and prints the result on a single complete
calculator: Write a program that takes three command-line arguments: number operator number and performs the required operation and prints the result on a single complete line in standard output. (The four operators of a arithmetic, + * - /, must be recognized here.
This is the code I have:
#include and I keep getting the error message 'you might be using the wrong number somewhere in your solution but I can't figure out where. Thanks in advance for help
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started