Created
November 29, 2018 04:27
-
-
Save Gzoref/b066f8b18849a5991d0c88af778f0c8c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.object.params; | |
import java.util.Scanner; | |
/* | |
* Name: Geoffrey Zoref | |
* Date: 9/8/2018 | |
* Project: Classes and Objects - Ch. 6 | |
*/ | |
public class Scan { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
int N = input.nextInt(); | |
int iLoop; | |
//input.skip("(\r\n|[\n\r\u2028\u2029\u0085])?"); | |
for(iLoop=1;iLoop<11;iLoop++) | |
{ int ans= N*iLoop; | |
System.out.println(N+" x "+iLoop+" = "+ans); | |
} | |
input.close(); | |
} | |
} | |
/** | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment