0

Can someone help me figure out this Java coding? I need help to find the problem with my coding.

Prompt the user to input an integer, double, a character, and a string, storing each into separate variables. Then output those four values on a single line separated by a space. Then it wants to extend to also output in reverse. Then it wants to cast the double to an integer, and output that integer. https://code.sololearn.com/cQ4COhsiIeL0/?ref=app

16th Mar 2019, 3:13 PM
Jordan Sims
Jordan Sims - avatar
3 Respuestas
0
I don't see a problem in your code. You just have to cast the double to int. You can see the added lines in the code. https://code.sololearn.com/cjeCKXxhRO3V/?ref=app Hope it helps you.
16th Mar 2019, 4:12 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
Thanks for the help
16th Mar 2019, 4:31 PM
Jordan Sims
Jordan Sims - avatar
0
Jordan Sims, you are welcome 😉
16th Mar 2019, 5:03 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar