fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i, n, m=0;
  5. printf("enter the number");
  6. scanf("% d", &n);
  7. for(i=1;i<=n;i++);
  8. m=i*2;
  9. printf ("the m=%d",m);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
enter the numberthe m=65534