View Single Post
Old May 12th, 2006, 1:02 AM   #6
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
make a recursive power function (enter 2 parameters, the base and the power...e.g. power(2, 3) would return 8).

make a factorial function (recursive or not) 5! = 5*4*3*2*1...by definition 0!=1.

make a "palindrome" program (test to see if input string is a palindrome).

make a function to tell if a number is prime.

hack into my bank account and add 43 gajillion dollars to it.

take a string and print it out backwards.

take a string and replace all vowels with the '*' character.

create a program that implements a four-function calculator

extra credit: implement the above with operator overloading.

this is just some crap i thought of. may be helpful and fun!

good luck.

for any help, suggestions, or whatever, my email is:

bhancock4@gmail.com

or you can skip it and ask someone who really knows.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote