SkyDriver
Would like my bananna ?
- Член од
- 31 јули 2008
- Мислења
- 2.140
- Поени од реакции
- 221
Еве и уште по некоја задача со левел од Beginner па се до Expert...
Write a program which finds the factorial of a number entered by the user. (check for all conditions) (Beginner).
Create a program which generates fibonacci series till a number 'n' where 'n' is entered by the user. For eg. if the user enters 10 then the output would be: 1 1 2 3 5 8 (beginner)
Write a program to simulate a simple calculator. It should accept two number from the user along with the required operation to be performed. Addition, Subtraction, Division and Multiplication are the basic operations that should be implemented. Feel free to implement the other operations (Beginner)
Create a simple Palindrome checker program. The program should allow the user to enter a string and check whether the given string is a palindrome or not. Only digits and alphabets should be considered while checking for palindromes -- any other characters are to be ignored. (Intermediate)
Implement your own [search]strstr[/search] function. (Intermediate)
Write a program which will print all the pairs of prime numbers whose sum equals the number entered by the user. ( suggested by Aniseed ) (Intermediate)
Write a program which will perform the job of moving the file from one location to another. The source and destination path will be entered by the user. Perform the required error checking and handle the exceptions accordingly. (Intermediate)
Write a program which performs addition, subtraction, multiplication of matrices. The dimensions of both the matrices would be specified by the user (dynamic memory allocation required). Use of structure or a class to define the matrix would be a good idea. (Expert)
Write a program that allows you to input students' scores and weights. The program should then calculate a weighted average and score based on the data inputted by the user. (Beginner)
Make a program that allows the user to input either the radius, diameter, or area of the circle. The program should then calculate the other 2 based on the input. (Beginner)
Create a program that implements a database in C++. The fields are hard-coded, and the data is saved in a binary file. Although this isn't really flexibility, you aren't relying on any external libraries or functions. (Beginner)
Create a few classes that model playing cards. Then use this framework to create your favorite card game. (Intermediate)
Write a program that accepts XHTML, parses and removes the tags. Then it prints out the remaining text. (Intermediate)
Write a program which reverses the numerals in an integer, that is 326 becomes 623, etc.. (Intermediate)
Create a sophisticated linked list class. You should be able to insert and delete nodes anywhere in the list, and the nodes should have pointers to nodes both in front and behind them. (Intermediate)
Create a binary tree which has search and sorting functions. (Expert)
Create a Quine, that is, a program that prints out its own source code. (Expert)
Write a program to draw a rectangle, ellipse, square, circle, point and line based on user input. (Beginner)
Write a program to emulate Microsoft Paint. It should be possible to switch between different tools (circle, rectangle, eraser...) using pre-defined key strocks. - (Intermediate)
Write a program to plot a simple x-y graph for a harcoded function (e.g. y=cos(x)). It should be possible to zoom in on any part of the graph. - (Intermediate).
Write a program to plot a graph of given equation of form y=f(x) and a range for x as command line arguments. (e.g. my_graph_plotter -eq="y=x*x" -xmin=-10, -xmax=10) - (Expert). (PS: more to do with equation solving than graphics)
Write the classic brick-break-out game. E.g. see DX Ball. - (Expert).