Write a batch version of the solution to Programming Exercise in Section 2.6 (repeated below). Your output should be sent to an output file. Show the UNIX command that reads data from file inData and writes results to output file outData.
Exercise
Write a program that reads two int values into m, n and displays their sum, their differences (m– n and n– m), their product, their quotients (m/ n and n/ m) and both m% n and n% m. If the numbers are 4 and 5, the line that shows their sum should be displayed as:
5 + 4 = 9
Use this format for each output line.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.