Question: in java on intellij please , just need some help as i am confused by the question Modify the program so that rather than printing
Modify the program so that rather than printing out the two strings which have been read in, it Keats them as being two halves of a single integer. Your program should print out the value of that integer plus 1. For example, after the following code has been executed the value of k will be the integer 44. String s="45 int k= Integer.parseInt(s) 1 Here is how your modified program should behave (user input is shown highlighted): Enter a line: 23 Enter another line: 99 Number =2400 The complete number is 2399 and adding 1 gives 2400
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
