1.

Write a program in java that will accept the number of Rows from the user to print pattern​

Answer»

Answer:

1.for making the text look coloured refer the below syntax and ignore the dots

[.tex]\red{the\:text\:APPEARS\:in\:red}[./tex]

RESULT

\red{the\:text\:appears\:in\:red}thetextappearsinred

2.for making the text marquee

[.tex]{the\:text\:appears\:like\:this}[./tex]

result

= < marquee > {the\:text\:appears\:like\:this} < /marquee > thetextappearslikethis

3. for making the text look bold

[.tex]\bold{the\:text\: appears\: like\: this }[./tex]

result =

\bold{the\:text\: appears\: like\: this }thetextappearslikethis

4. for showing the EXPONENTIAL value

[.tex]{no.}^{power}[./tex]

result

= {no.}^{power}[ /tex] 5. for showing the square root value [.tex]\sqrt{no.}[./tex] result = \sqrt{no.}no. power5.forshowingthesquarerootvalue[.tex]

no.

[./tex]result=no.   \bold{\<klux>BOXED</klux>{<klux>THANX</klux>}} thanx   follow me next1.for making the text look coloured refer the below syntax and ignore the dots [.tex]\red{the\:text\:appears\:in\:red}[./tex]result \red{the\:text\:appears\:in\:red}thetextappearsinred 2.for making the text marquee[.tex]{the\:text\:appears\:like\:this}[./tex]result = < marquee > {the\:text\:appears\:like\:this} < /marquee > thetextappearslikethis 3. for making the text look bold [.tex]\bold{the\:text\: appears\: like\: this }[./tex]result = \bold{the\:text\: appears\: like\: this }thetextappearslikethis 4. for showing the exponential value [.tex]{no.}^{power}[./tex]result = {no.}^{power}[ /tex] 5. for showing the square root value [.tex]\sqrt{no.}[./tex] result = [tex]\sqrt{no.}no. power5.forshowingthesquarerootvalue[.tex]

no.

[./tex]result=[tex]

no.

\bold{\boxed{thanx}}

thanx

follow me next



Discussion

No Comment Found