1) Try a simple calculator ( u said u were a beginner and I did it in C# )
A calculator that reads expression and returns an answer
2 + 5 - ( 4 / 2 ) should give 5
Queues, postfix can be used in this context.
2) Create a structure with a name and mobile no
Use file to store a list of names with their mobile no.
In your prog read files and load the names in a structure array ( in the form of binary tree )
Make functions to
1) Add an entry to the binary table
2) Delete an entry
3) Search an entry (most important function)
You can use the concept of LinkedList and BinaryTree (collection of lists).
Save the directory info to the file when your program exits.
File handling can be done later. Do concentrate on the three functions.
I hope my explanation of the ideas would be clear. Reply if you need any clarification
Again, these are my ideas. You can still do something else using data structures.
Programming skill is composed of
10% knowledge on programming language
90% logical skills ( how to solve a problem )
So, try to solve as many problems (even the two that I gave in my previous post can also be considered as problems) using the programming language you are learning now.
Use different techniques to solve the problems. Learn new techniques. Implement them in your code.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...