09-29-2009 07:02 AM
hello friends i am a newbe 2 labview so my question is what is the code to print right angle triangle
like *****
****
***
**
*
Solved! Go to Solution.
09-29-2009 07:13 AM
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
09-29-2009 07:26 AM
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...
09-29-2009 07:33 AM
Does that mean Partha's solution worked?
🙂
09-29-2009 08:01 AM