Change the repository type filter
All
Repositories list
9 repositories
Ordering
PublicCreate a program that allows entry of 10 numbers and then sorts them into ascending or descending order, based on user input. The user can input a word or string, and it arranges the string into alphabetical order. E.g. My Rabbit would be shown as “abbimty “. (Punctuation placement is not essential)Palindromes
PublicCodeChallengeTemplate
Public templateUnitConverter
PublicConverts various units between one another. The user enters the type of unit being entered, the type of unit they want to convert to and then the value. The program will then make the conversion.FruitMachine
PublicWrite a program to simulate a Fruit Machine that displays three symbols at random from Cherry 🍒, Bell 🔔, Lemon 🍋, Orange 🍊, Star ⭐, Skull 💀.Classification
PublicA simple classification system asks a series of Yes/No questions in order to work out what type of animal is being looked at. Carry out some simple research on classification trees, then write a program to help the user decide between the following: horse, cow, sheep, pig, dog, cat, lion, tiger, whale, dolphin, seal, penguin, ostrich, sparrow, s…Thief
PublicDesign and write a program that displays all the possible combinations for any four numerical digits entered by the user. The program should avoid displaying the same combination more than once.SpeedTracker
PublicCreate a program that takes a time for a car going past a speed camera, the time going past the next one and the distance between them to calculate the average speed for the car in mph. The cameras are one mile apart.FactorialFinder
PublicThe Factorial of a positive integer, n, is defined as the product of the sequence n, n-1, n-2, ...1 and the factorial of zero, 0, is defined as being 1. Solve this using both loops and recursion.