Set the hugeAmount variable equal to the number 100500.
Use the bigAmount and greatAmount variables as well as string-to-number conversion.
Use a single statement to declare and initialize hugeAmount.
Bigger every time
- 2
Locked
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Anonymous #11313983
16 March, 11:46
The first condition is a bit misleading but you need to convert hugeAmount and greatAmount before adding them together to declare/initialize hugeAmount. Then print out hugeAmount as is!
0
yahu
24 September 2022, 13:16
plase help me to finish this i con't understand how to solve it
+1
GerardK Java Developer
30 June 2022, 09:51
Hint: you need to convert every string separate into an Integer.
+4