Xiaoyu teacher to a task, the stationery store to buy as much of the pen. A pen known price is $ 1 9 angle, and the teacher gave Xiaoyu money is a dollar b angle, Xiaoyu want to know how much she can only buy up to pen it.
package algorithm ti; import java.util.Scanner; class P1421{ public static void main(String []args){ Scanner scanner= new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = 19; System.out.println(((a*10)+b)/c); } }