Home / Tag Archives: printf

Tag Archives: printf

Tutorial: Output formatting in ROBOTC

Aligning your fruit ‘n veg If you’ve ever had to output anything on the screen in ROBOTC, you’ve probably used nxtDisplayTextLine() or one of its many siblings.  Your code may, or may not have looked something like this: task main() { int num_apples = 10; // how do you like them apples? int num_pears = 8; int num_cherries = 116; ... Read More »