fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. // your code goes here
  5. float x = 10;
  6. scanf("%f", &x);
  7. printf("x=%f", x);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
x=10.000000