Small Basic Monthly Challenges – April 2018

This post has been republished via RSS; it originally appeared at: Small Basic Blog articles.

First published on MSDN on Apr 06, 2018

Authored by Ed Price


Big thanks to LitDev for hosting our monthly challenges!

These challenges are intended for people who are learning to program for the first time or for those returning to programming who want to start using Small Basic.  Some will be easy, some will be hard - but they will all make you think, and more importantly be GREAT FUN!

Please post your solutions / partial solutions / questions / feedback etc. into this thread that will remain 'sticky' for the month.  The only rule is that your solution must use standard Small Basic methods (no extensions).

Post your solutions here:



It would be good if people could post their problems with these challenges so that a discussion can start so that everyone can learn from each other.

We may extend these challenges over into a second month if solutions and questions are still coming in.

Graphics Challenge

Draw a picture of a mountain scene, maybe some clouds, trees, snow or a lake in the view.

Maths Challenge

Write a program to calculate the numbers less than 1000 that are divisible, by exactly 3 different prime numbers.  How many can you get.

e.g. 2*3*5 = 30, 7*11*5=385

Text Challenge

Write a TextWindow program to input a sentence and then output it with one or more of the following:

  • every vowel colored red, or

  • the first and last letter of each word colored blue


Game Challenge

Write a simple whack-a-mole type game.




Do you have an idea for a future challenge? Please post it here!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.