fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. // your code goes here
  6. printf("These values are : \n");
  7. float x,y,z;
  8. x=y=z=2.5;
  9. printf("x = %f\n",x);
  10. printf("y = %f\n",y);
  11. printf("z = %f\n",z);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
These values are : 
x = 2.500000
y = 2.500000
z = 2.500000