#include <stdio.h>
#include <string.h>
#include <math.h>


int main () {
  
  float v1, v2, v3;

  fprintf(stdout, "Input 3 variables: ");
  scanf("%f %f %f", &v1,&v2,&v3);
  
  printf("\nAdded: %f\n", v1+v2+v3);
  printf("Multiplied: %f\n", v1*v2*v3);
  printf("(v1 * v2)^v3: %f\n", powf(((double)v1 * (double)v2), (double)v3)); // don't forget to link with -lm
  
  return 0;

}
