Multiple repositories combined containing simple c programs. Some coding challenges to develop my knowledge and skills in c.
The factorial method calculates the result of
n! For example 4! would be 4*3*2*1
= 24
Generates a random number and gives the user 7 attempts to guess it. If the user is successful, a "well done" message is outputted and the program is terminated
The main method takes a number between 1 and 100 from the user and attempts to guess the number
The main method prints set prices in GBP and Euros
This method takes a string representing a binary value and returns an integer representation of the two's compliment
The main method takes a user input and populates a text file called output.txt with integers from 1 to the number inputted by the user
Return a number as a word. For example, 2809 would be "two eight zero nine"
See the CHANGELOG for more information.
- Press the Clone or download button in the top right
- Copy the URL (link)
- Open the command line and change directory to where you wish to clone to
- Type 'git clone' followed by URL in step 2
$ git clone https://github.com/FredHappyface/C.CodingChallenges
More information can be found at https://help.github.com/en/articles/cloning-a-repository
- Press the Clone or download button in the top right
- Click open in desktop
- Choose the path for where you want and click Clone
More information can be found at https://help.github.com/en/desktop/contributing-to-projects/cloning-a-repository-from-github-to-github-desktop
- Download this GitHub repository
- Extract the zip archive
- Copy/ move to the desired location
MIT License Copyright (c) FredHappyface (See the LICENSE for more information.)