Last active
October 7, 2023 19:40
-
-
Save alexandreelise/f50030ea09e265a55cd63d08d62f76f0 to your computer and use it in GitHub Desktop.
Tiny hungry foodie kotlin script originally written in PHP
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
/** | |
* Tiny hungry foodie kotlin script | |
* | |
* @package tinyhungryfoodie | |
* @author Mr Alexandre J-S William ELISÉ <[email protected]> | |
* @copyright (c) 2009 - present . Mr Alexandre J-S William ELISÉ . Tous droits réservés. | |
* @license MIT | |
* @link https://apiadept.com | |
*/ | |
fun main() { | |
var food: String? | |
do{ | |
println("I am hungry!") | |
food = readLine() | |
println("Miam! Miam! " + food) | |
}while(food!!.compareTo("end") != 0) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment