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, 22.06.2019 17:00
Your company has 1,500 desktop computers running windows 7. you want to upgrade them to windows 10. which type of microsoft license would be best suited in this situation?
Answers: 3
question
Computers and Technology, 22.06.2019 19:20
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What is the penalty for violating section 1201 of title 17 chapter 21 of the us code
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
What social factors affect your health
Answers: 3
You know the right answer?
Write a c++ program that takes two numbers from the command line and perform and arithmetic operatio...
Questions
question
World Languages, 20.07.2019 11:30
question
Health, 20.07.2019 11:30