Write a program that take two integers from command line and prints sum of two number and result of subtracting first from the second.
Note: Use Integer.parseInt(args[0])
to convert args[0]
from String to int.
Example 1:
% java YourProg 20 10
Output: 30, 10
Example 2:
% java YourProg 5 10
Output: 15, -5