subject

Write a c++ program that takes two numbers from the command line and perform and arithmetic operations with them. additionally your program must be able to take three command line arguments where if the last argument is 'a' an addition is performed, and if 's' then subtraction is performed with the first two arguments. do not use 'cin' or gets() type functions. do not for user input. all input must be specified on the command line separated by blank spaces (i. e. use the argv and argc input parameters).

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:30
What important technology has done the most to allow a businesses a chance to compete with larger international companies
Answers: 1
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
You know the right answer?
Write a c++ program that takes two numbers from the command line and perform and arithmetic operatio...
Questions
Questions on the website: 13722367