Question: please tell me the coding in java language. in that am unable to complete it Task #1 - Wanna play a game? We want to

please tell me the coding in java language. in that am unable to complete it
 please tell me the coding in java language. in that am

Task #1 - Wanna play a game? We want to create a short program that performs the following task. A user is asked if they would like to play a game. If they answer y, yes, Yes or any other variation of the word (starting with a Y) - we will print to the screen "Hooray! So glad to be playing a game with you!". If they answer n, no, No or any other variation of the word No (starting with an N), then we will display to the screen "Sorry that you don't want to play with me :1". If they enter any other value, we display "Sorry - didn't get that - please enter your choice again" and they will be prompted to run the program once more. Your code must include the following: tolowerCase function, a loop and the substr function Task #2 Create a math program that will ask the user to enter in any two numbers. The numbers will then be added, subtracted, multiplied and divided. The result of each will be displayed to the screen. Note- each of the mathematical operations must be completed using a function that you create. The function must NOT make use of global variables. The functions must return a value. You must ensure that the higher number is always subtracted from and divided from Format all results to two decimal places. Standard comments are included in your file. Submit an electronic version using the submission point located in the week 7 folder. The electronic version MUST be in html format. Any other format will NOT be accepted and you will receive a zero mark for your assignment. Keep it simple - do not do more than what was asked You may only use what we have learned in class to this point

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!