Posted by: khoi_k_khoi_k February 21, 2010
Login in to Rate this Post:
0
?
Dude, I can also help you on this, but I don't want to provide you line by line code.. as you have mentioned you try hard and unable to do it. Can you mentioned what was problem you faced and how much you succeed. Then based upon that I will try to give you a feedback.
Also let me know how much of knowledge you have in C++. As "wai_wai" mentioned, you can use hash table and dictionary to work this program, but those will be little bit complicated. But as you are not experienced you can use simple array
This is how you should implement (in the simplest form)
Step 1: At first just write simple program which will accpe the number and name and try to see valdiation is working or not
Step 2: declare 2 array of size 3 to store time and name. Try to figure out the which time is the smallest one, based upon that print the result
IF you are interested then I can suggest the flow for second question in same way
Also let me know how much of knowledge you have in C++. As "wai_wai" mentioned, you can use hash table and dictionary to work this program, but those will be little bit complicated. But as you are not experienced you can use simple array
This is how you should implement (in the simplest form)
Step 1: At first just write simple program which will accpe the number and name and try to see valdiation is working or not
Step 2: declare 2 array of size 3 to store time and name. Try to figure out the which time is the smallest one, based upon that print the result
IF you are interested then I can suggest the flow for second question in same way
Last edited: 21-Feb-10 01:18 AM