fork download
  1. #include <stdio.h>
  2. int main ( )
  3. {
  4. int a = -10; /* declare three variables of type integer */
  5. int b = 4;
  6. int c;
  7. int y;
  8. int z;
  9. int zz;
  10. c = a * -b; /* minus b, as in -b, is a unary operator on just b */
  11. scanf("%d %d", &y, &z);
  12. zz = y + z;
  13. printf (" %i \n", zz);
  14.  
  15. return (0); /* success */
  16. }
Success #stdin #stdout 0s 5288KB
stdin
22 78
stdout
 100