Question: Please fix this in java code!! Thank you!! 1 :Compare output 0 / 1 Output differs. See highlights below. Special character legend Input 1 2

Please fix this in java code!! Thank you!!
1:Compare output
0/1
Output differs. See highlights below.
Special character legend
Input
12
3
Your output
1296300369
Expected output
129630-3036912
2:Compare output
0/2
Output differs. See highlights below.
Special character legend
Input
17
5
Your output
171272-3-32712
Expected output
171272-3271217
3:Compare output
0/2
Output differs. See highlights below.
Input
6
4
Your output
62-2-22
Expected output
62-226
4:Compare output
0/2
Output differs. See highlights below.
Special character legend
Input
8
2
Your output
864200246
Expected output
86420-202468
5:Unit test
0/3
Tests studentPattern.printNumPattern() correctly creates and outputs number pattern
Test feedback
printNumPattern() method incorrectly
creates or outputs number pattern.
num1: 2
num2: 1
Expected output: 210-1012
Your output: 21001
 Please fix this in java code!! Thank you!! 1:Compare output 0/1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!