Question: I need help converting this Java into C++. This is wayyy too confusing for me to convert. Please help! The keyboard input is killing me.
I need help converting this Java into C++.
This is wayyy too confusing for me to convert. Please help! The keyboard input is killing me. I don't even know where to include the scanf.
| try { //TODO FileInputStream fis = new FileInputStream("< while(sc.hasNextLine()) { try { BigDecimal b = new BigDecimal(sc.nextLine()); numberList.add(b); } catch(BigDecimalException bde) { System.out.println(bde.getMessage()); } } |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
