Freigeben über


Small Basic - Hints for helping Cathy (and her babysitting career)

Here's a problem to test your Small Basic skills...

 

Cathy wrote the following program to figure out how much money she earned from babysitting. But there’s a problem: her program doesn’t work! Help Cathy find the bug in her program and fix it!

 ' This program computes my earnings from babysitting.
 ' hours worked: 20
 ' pay rate: $4 per hour

TextWindow.WriteLine("I earned: $" (20 * 4))

 ===============

What do you think?

Stuck? Well...

...

...

...

...

...

...

Take the Hint

The problem is String Concatenation.

You can find some resources about that here:

Go to https://blogs.msdn.com/SmallBasic to download Small Basic for free and learn all about it!   

Small and Basically yours,

    - Ninja Ed

Comments