Last active
October 24, 2024 18:22
-
-
Save binary10/9988d26a0101f8fe74dd92b61aed0a73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A model of computation | |
for(i in 1:2) | |
{ | |
print("To calculate two times two, please enter: 2*2") | |
scan(what="char") | |
print("Sorry, that's incorrect.") | |
} | |
print("To calculate two times two, please enter: 2*2") | |
scan(what="char") | |
print("4") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment