You are viewing a single comment's thread. Return to all comments →
solution:
if(N>=2 && N<=20) { for(int i=1;i<=10;i++) { System.out.println(N + " x " + i+ " = "+ N*i); } }
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Java Loops I
You are viewing a single comment's thread. Return to all comments →
solution:
if(N>=2 && N<=20) { for(int i=1;i<=10;i++) { System.out.println(N + " x " + i+ " = "+ N*i); } }