LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to print right angle triangle with asterisk sign in labview?

Solved!
Go to solution

hello friends i am a newbe 2 labview so my question is what is the code to print right angle triangle

like *****

      ****

      ***

      **

      *

0 Kudos
Message 1 of 5
(4,542 Views)

Hi jeshu,

 

There are many ways of doing this, from simply printing a string constant which contains the stars, to an array containing the same, to a decreasing count of asterix in a For Loop, to ...  well the list might go on..  😉

 

Before suggesting anything, can you describe what you are trying to achieve and how you imagined you would implement this?  That way, a better suggestion could be made.  Also define "print".  Do you mean print to screen in a string indicator or to send it to a printer?  Or to light up some LED or LCD display?

 

R

Message 2 of 5
(4,536 Views)
Solution
Accepted by topic author jeshu

Ray.R wrote:

 

There are many ways of doing this, from simply printing a string constant which contains the stars, to an array containing the same, to a decreasing count of asterix in a For Loop, to ...  well the list might go on..  😉


Ideas are always infinite, it seems... Smiley Happy

- Partha ( CLD until Oct 2027 🙂 )
Message 3 of 5
(4,521 Views)

Does that mean Partha's solution worked?

🙂

Message 4 of 5
(4,514 Views)
Smiley Very Happy
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 5
(4,492 Views)