subject

Write a program that accepts as command line arguments the sign of a math operation (+, -, x, or /) and two integer numbers and displays the result of the operation (all integer operations). for example, if the arguments are +, 5, -3, the program should display 2. you may find strcmp function useful note: x for the multiplication is letter x, not *. (* has special meaning to unix shell.) sample run: ./a. out 5 2 - output: 3 1) name your program command math. c 2) use atoi function in to convert a string to integer form

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
question
Computers and Technology, 24.06.2019 10:50
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
You know the right answer?
Write a program that accepts as command line arguments the sign of a math operation (+, -, x, or /)...
Questions
question
English, 07.01.2021 08:00
question
English, 07.01.2021 08:00
question
Business, 07.01.2021 08:00
question
Mathematics, 07.01.2021 08:00
question
Mathematics, 07.01.2021 08:00
Questions on the website: 13722361