Computer Science, asked by samuelhembrom32, 3 months ago

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

Answers

Answered by Anonymous
1

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]<marquee>{the\:text\:appears\:like\:this}</marquee>[./tex]

result

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

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. </p><p>power</p><p> 5.forshowingthesquarerootvalue[.tex]

no.

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

no.

[./tex]result=[tex]

no.

\bold{\boxed{thanx}}

thanx

follow me next

Similar questions