in Education by
1.) The following program is supposed to print the following pattern. Some part of the program is replaced by _n__ where n is 1 to 5, fill this part so that program works correctly. 5 45 345 2345 12345 class ques { public static void main(String args[]) { for(__1__; __2__; i–) { for(__3__; __4__; __5__) System.out.print(j); System.out.println(); } } } Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Holla Mate ur answer is… for(i=5;i>=1;i–) { for(j=i;j<=5;j++) and the rest is written… Hope it helps

Related questions

0 votes
    Write a C program to print the following pattern: 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 Select the correct answer from above options...
asked Dec 7, 2021 in Education by JackTerrance
0 votes
    Write a C program to print the following pattern: 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    Write a C program to print the following pattern: 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    Using nested loop write a program to print the following pattern on the screen. 12345 23451 34512 45123 51234 Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    Write a program in JAVA to print this pattern :- 1 12 123 1234 12345 Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    write a program in Python to print the sum of the following series: s=1+x+x^2+x^3+…..+x^n Select the correct answer from above options...
asked Dec 9, 2021 in Education by JackTerrance
0 votes
    HOW TO PRINT THE FOLLOWING PATTERN IN JAVA 5 4 5 3 4 5 2 3 4 5 1 2 3 4 5 Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    Develop a java program that will print the series (16*1)+(14*2)…(4*7)..Only ANEEK MITRA WILL ANSWER! Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    re arrange these words: (1)INFRMAAME, (2)ACINTOSHM,(3)AVIGATIONN(4),HDIE (5)YOUTLA, (6)ianm tcuneodm. Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    re arrange these words: (1)INFRMAAME, (2)ACINTOSHM,(3)AVIGATIONN(4),HDIE (5)YOUTLA, (6)ianm tcuneodm. Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    Plz write a program for the following pattern in Java class 10 ICSE 2 6 12 20 30 42 4 6 8 10 12 2 2 2 ... spam. Answer only if you know Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    write a menu driver program in java for the following pattern ** *** * * * * * * Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    How to print details in the pattern given in java constructors like this Write a program that would print the ... - WallsStreat ?? Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    How to print details in the pattern given in java constructors like this Write a program that would print the ... - WallsStreat ?? Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
...