Computer Science, asked by sharansss114, 1 year ago

write a program in java of pattern printing which should print
12345
2345
345
45
5

Answers

Answered by NightDeamon
1
echo off
color 9c
title %name%
cls

:main
cls
echo 12345
echo 2345
echo 345
echo 45
echo 5
pause >nul
exit

(save as %name%.bat)

sharansss114: huh thank you but it is pattern printing in Java
sharansss114: can u please help me
NightDeamon: sry i only know batch, vbs, and python
sharansss114: ohhhh ok thanks
NightDeamon: sry i cant help
Similar questions