Skip to content

alanlim1/git-challenge2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Hello all! ;)

It’s Friday, 29th July.

Challenge time: Friday, the entire day.
Feel free to use google, your notes, books, etc but work on your own.
If you have a partial solution, still check in a partial solution.

So, your challenge today:

Write a simple program that prints the numbers from 1 to 100.
But, instead of the numbers, the program will print:
    'Ola' for any number divisible by three;
    'Bola' for any number divisible by five;
    'OlaBola' for any number divisible by three and five; and
    Otherwise, return the number.

To play the program, run this code in the console, and it should print the expected outcomes.

Make sure you complete the challenge, commit and push to Github, and email us the link to your solution repo.

Have fun.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages