All pastes #420352 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-02 02:16 UTC
rendered paste body
int main()
{
  int value1,value2;
  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: %d \n", value1/value2);
  printf("Mod of input: %d \n", value1%value2);
  printf("Exponential/Power of input: %d \n", pow(value1,value2));
}