fork download
  1. #include <stdio.h>
  2. int main() {
  3. int num = 45;
  4. float x ;
  5. x =5.67;
  6. char sym = 'A';
  7. double y = 6.6557388652;
  8.  
  9. printf ("Num is %d, x is %.2f\n", num, x);
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0s 5304KB
stdin
Standard input is empty
stdout
Num is 45, x is 5.67