Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. count = 0;
  3. tempc = get_integer("Type temperature in Celcius","Here");
  4. while (tempc <= -100 || tempc >= 100)
  5. {
  6. show_message("Between -100 and +100");
  7. tempc = get_integer("Type temperature in Celcius","Here");
  8. }
  9. tempf = (tempc * (9/5) + 32)
  10. for (count = 1; count <13; count += 1)
  11. {
  12. message = ("Celsius: " + string(tempc) + "   Fahrenheit: " + string(tempf) + "#");
  13. }
  14. show_message(message)
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement