Advertisement
Guest User

Fr3shlama

a guest
Dec 10th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. float fahrenheit_Celsius(float f) {
  2. return (f-32) * 5/9;
  3. }
  4.  
  5. void setup() {
  6. float fahrenheit = 105;
  7. println( fahrenheit_Celsius( fahrenheit ) );
  8. println(5/9);
  9. println(5/9f);
  10. exit();
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement