Homework 5, assigned WED NOV 1 and part A is due MON NOV 13 at 11:59pm, part B is due WED NOV 15 at 11:59pm

Part A

Write a program in which the main method calls a method with the heading public static int subtract(int num) that takes a three digit integer num, for instance 123, and does the following

Part B