#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
int a, b, c, d;
/* prompt the user
and read input numbers */
printf("Input three numbers separated by space: ");
scanf("%d%d%d", &a, &b, &c);
//computation itself
d = a / b * c;
//print the result
printf("%d / %d * %d = %d", a, b, c, d);
return 0;
}
input 2 1 5 output 2 1 5 10