fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. // your code goes here
  6. int pri(int know);
  7. int a,b,c;
  8. scanf("%d,%d",&a,&b);
  9. c=pri(a);pri (b);pri(c);
  10. return 0;
  11. }
  12. int pri(int up)
  13. {
  14. printf("%d ",up);
  15. return 6*up;
  16. }
Success #stdin #stdout 0s 544KB
stdin
698 580 698
999
stdout
698  0  4188