1) Google printf function and use it and a loop to print the following chart:
// print sums of cubes
http://venus.cs.qc.edu/~ryba/cs111/Ch3/sumcubes.cpp
2) Research the following functions, and write a program making use of them: printf, scanf, pow, modf, rand, ceil, floor, getch, getche.
3) Research the switch-case construct, and write a program which makes use of it.
4) Implement a two player game of poker dice.
http://en.wikipedia.org/wiki/Poker_dice
Monday, March 15, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment