fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a1,a2,a3,sum;
  7. printf ("Input your number:a1\n");
  8. scanf("%d" , &a1);
  9.  
  10. printf ("Input your number:a2\n");
  11. scanf("%d" , &a2);
  12.  
  13. sum=a1*a2*a3;
  14.  
  15. printf("%d*%d*%d=%d",a1,a2,a3,sum);
  16. return 0;
  17. }
Success #stdin #stdout 0.01s 5288KB
stdin
100
200
300
stdout
Input your number:a1
Input your number:a2
100*200*0=0