MDHacks has provided our begenir programmers with puzzles to complete and compete for prizes. Every time you complete a puzzle, submit your answer here and view your and your competitions progress here. Once you submit an answer check the leaderboard to see if you got it right. Good luck!
Some notes before you begin
- You can use any text based programming language
- When you submit don't worry about formatting or comments
- For puzzles that dont have an explicit answer, such as puzzle 1, in the answer section put whatever was outputted to the terminal. So for puzzle 1 the answer would be "Hello MDHacks"
Print out “Hello MDHacks” to the console
input: none
Print all the numbers from 1 to 100 into the console
input: none
Print all the even numbers from 1 to 100 into the console
input: none
Given an input of someone's name, print out a greeting
Example:
Enter a name: Bob
Hello Bob!
input: Jeff
Convert these strings that have random upper case and lowercase letters into a string that has only lower case letters
Example:
MdHaCks -> mdhacks
input: heLLo WoRlD
Given a range as an input, print all the numbers in between that range
input: 2-44
Find the LCM of 2 given numbers
input: 7 and 8
Find the GCF of 2 given numbers
input: 13 and 26