fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int d=3.12e3;
  6. //int d=3.12;
  7. printf("%d\n",d);
  8. printf("%.0f\n",pow(2,3));
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
3120
8