Question 49 (Java)

how to print the below pattern

input N=4

output :

4444444

4333334

4322234

4321234

4322234

4333334

4444444

input N=3

output :

33333

32223

32123

32223

33333

[advanced_iframe securitykey=”undefined” src=”https://ide.kodnest.com/?tgp0″ width=”100%” height=”600″]

KodNest Training New Batch is starting on 21st September 2020. Attend one week free demo classes.Register Now

New Report

Close