Advertisement
Deltekkio

Test OpenComputer

Oct 25th, 2020 (edited)
2,242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. local term = require("term")
  2.  
  3. print("Inserisci il primo numero: ")
  4. a = term.read()
  5. print("Inserisci il secondo numero: ")
  6. b = term.read()
  7.  
  8. print("Il numero medio รจ: ")
  9. print(a+b/2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement