We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Why is this not submitting? even though in the test case myu output and the testcaseoutput is the same
Scanner sc =new Scanner(System.in);
int number = sc.nextInt();
IntStream.range(1,11).forEach((n)->System.out.printf(" %d x %d = %d \n",number,n,number*n));
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Loops I
You are viewing a single comment's thread. Return to all comments →
Why is this not submitting? even though in the test case myu output and the testcaseoutput is the same
Scanner sc =new Scanner(System.in); int number = sc.nextInt(); IntStream.range(1,11).forEach((n)->System.out.printf(" %d x %d = %d \n",number,n,number*n));