|
|
guessing game
|
Python
|
2.28 Years Ago
|
1
|
|
5.00
|
- - -
|
1,272 Chrs
|
|
|
Guessing game, easy enough to figure out
|
|
|
|
Guessing game
|
C++
|
2.28 Years Ago
|
0
|
|
5.00
|
- - -
|
1,346 Chrs
|
|
|
Guess 3 numbers from 1-10 and see if they are in the randomly generated list. Easy game but you can change the size of the list.
|
|
|
|
Greatest Common Factor
|
C++
|
2.28 Years Ago
|
0
|
|
- - -
|
- - -
|
809 Chrs
|
|
|
Test program using a recursive function. The program shows the highest common number divisible between the 2 numbers the user provides: for instance 300 and 200 would be 100, and it would print:
30
|
|
|
|
Very basic calculator
|
C
|
3.26 Years Ago
|
3
|
|
4.00
|
- - -
|
1,986 Chrs
|
|
|
this code asks the user what operation he/she wants to perform on 2 numbers, then prints the result. Was mainly a test for layout, clearing input buffer, using loops etc etc.
|
|
|
|
replace tabs ('\t') with '|'s
|
C
|
3.27 Years Ago
|
3
|
|
6.00
|
- - -
|
765 Chrs
|
|
|
this takes a string from the user and prints it out replacing all the tabs they enter with lines. To understand you must understand how tabs work (tabsets etc).
|
|
|
|
pupil reading & displaying program
|
C
|
3.30 Years Ago
|
2
|
|
- - -
|
- - -
|
641 Chrs
|
|
|
this code takes names from the user and then prints them back.
The code:
if(names[i][j-1] == '\n')
names[i][j-1] = 0;
basically says - if the last char of the array is a newline,
|
|
|
|
test marking program
|
C
|
3.64 Years Ago
|
3
|
|
5.00
|
- - -
|
888 Chrs
|
|
|
this takes your marks and says whether you've passed or failed. Just a little practice as I haven't done coding in at least 6 months now.
|
|
|
|
"decryptor" in C
|
C++
|
4.16 Years Ago
|
3
|
|
10.00
|
- - -
|
1,459 Chrs
|
|
|
you enter whether you want the characters to be mover up or down (+ or -). you then say by how much, and it "decrypts" it. it is best used for nothing. i just felt like making it. deal with it.
|
|