Computer Science (083) Practical File for Class XII
| |
|Index for C++ Programming |
|Name: _____________________________ Section: ___ Roll No.: ____ |
| |
|Last Date of Submission (Program No. 1 – 21) 31/07/2009 |
|Last Date of Submission (Program No. 22 – 29) 31/08/2009 |
|Last Date of Submission (Program No. 30 – 40) 31/10/2009 |
|SN. |Program Description |Topic |
| |Write a program to play the following game: |C++ Revision |
| |The player guesses a number from 2 to 19 and then the program generates three random numbers from 101 |(Class XI) |
| |to 199. If the sum of the digits of any of these numbers matches the player’s number, then the player | |
| |is declared a winner otherwise the player looses the game. | |
| |Write a function to generate the nth term in a Fibonacci sequence. Use this function to print first N |C++ Revision |
| |terms of the sequence. |(Class XI) |
|...
No comments