Bigger every time

  • 2
  • Locked
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.
You can't complete this task, because you're not signed in.
Comments (3)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Anonymous #11313983
Level 3 , United States of America, United States
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!
Level 4 , Bangalore, India
24 September 2022, 13:16
plase help me to finish this i con't understand how to solve it
GerardK Java Developer
30 June 2022, 09:51
Hint: you need to convert every string separate into an Integer.