Assignemnt: Program #81 and Counting Machine Revisited Code /// Name: Yordan Rashkov /// Period: 7 /// Program Name: CMR /// File Name: CMR.java /// Date Finished: 2/18/2016 import java.util.Scanner; public class CMR { public static void main( String[] args ) { Scanner keyboard = new Scanner(System.in); System.out.print( "Count from: " ); int CF = keyboard.nextInt(); System.out.print( "Count to: " ); int CT = keyboard.nextInt(); System.out.print( "Count by: " ); int CB = keyboard.nextInt(); for(int i = 0; i <= CT/CB - CF/CB; i++) { System.out.print(((CF + CB*i) < 10?" ":"") + (CF + CB*i) + " "); if(i % 10 == 0 && i != 0) { System.out.print("\n"); } } System.out.print("\n "); } }