fork download
  1. #include <stdio.h>
  2. int main() {
  3. int a = 5;
  4. float b = 2.5;
  5. float hasil;
  6. hasil = a + b;
  7. printf("Hasil ekspresi = %.1f", hasil);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
Hasil ekspresi = 7.5