rendered paste body#include <stdio.h>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
int main(int argc, char* argv[])
{
int value1,value2;
value1 = atoi(argv[1]);
value2 = atoi(argv[2]);
// create an empty vector of strings
vector<string> args;
// copy program arguments into vector
int i;
for (i=1;i<argc;i++)
{
args.push_back(argv[i]);
}
//printf(args::size());
//printf("Enter a number: ");
//scanf("%d",&value1);
//printf("Enter another number: ");
//scanf("%d",&value2);
printf("Sum of input: %d \n", value1+value2);
printf("Multiplication of input: %d \n", value1*value2);
printf("Division of input: %0.0f \n", ((float)value1/value2));
printf("Mod of input: %d \n", value1%value2);
printf("Exponential/Power of input: %0.0f \n", (float)pow(value1,value2));
}