C# PROGRAM
the program should run in infinite loop for the program to run continiously
sample menu
1 - Walk2 - Speak3 - Hop4 - Show Distance5 - Show Number of Words Spoken
-----------------------------------------------------------
walk method- when this method is called, it outputs the text "walking" on screen
speak method- when this method is called, it outputs one of the following text on the screen in random order
a. How are you?b. It is a lovely day. Isn't it?c. It's a pleasure to meet you.d. Hello.e. A pleasant morning to you.
hop method- when this method is called, it outputs on the screen the text "hop" which is equivalent to 2 walks.
distance method- this is a read-only property that returns the number of times you invoked the hop and walk method.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here