Timeline for Using Scanner input to do some basic math and format an output
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 19, 2018 at 8:44 | comment | added | Pimgd | @cody.codes sharon provides a good example of splitting things up; adding to that would be doing things like taking each alternative line as student name (so expecting input to be student name, pluses and minuses, student name, pluses and minuses... by line, not by content) | |
| Jan 18, 2018 at 19:40 | comment | added | cody.codes | This is interesting and I really like the idea of being able to write code that could potentially deal with situations other than the stated case. Do you have any recommendations for what you'd do in this case (specifically what code would you write?) | |
| Jan 18, 2018 at 13:47 | history | edited | Pimgd | CC BY-SA 3.0 |
added 223 characters in body
|
| Jan 18, 2018 at 13:19 | comment | added | Sharon Ben Asher | it is stated in the exercise that the 2nd line will contain at least one plus or minus signs... | |
| Jan 18, 2018 at 13:15 | history | answered | Pimgd | CC BY-SA 3.0 |