...

View Full Version : array need help



email
07-06-2012, 04:21 PM
hey guys im new to this forum and have exams coming up so wanted to study from past papers.Could you help me answer this

Write a program that used an array to store the items you require on a weekly shopping list eg. milk. eggs, cornflakes. orange juice and bread

1. Initially the user should be prompted to enter the size of the array (i.e the size should indicate the number of iteams to store with in the array. Once a size has been defined, the program should begin to prompt the user (via dialog boxes) for the specified number of items to go on to the shopping list. Once the user has completed entering the date, your program should output, via a single alert box, the full list of shopping items. NO sorting is required.



any help is much appreciated

Logic Ali
07-06-2012, 05:03 PM
hey guys im new to this forum and have exams coming up so wanted to study from past papers
You can use past papers to test your knowledge. Now that you know the result, you need to refer to your course material.

email
07-06-2012, 05:34 PM
You can use past papers to test your knowledge. Now that you know the result, you need to refer to your course material.

That answer is really gone help me :confused::confused:

Philip M
07-06-2012, 07:40 PM
This forum is not a free coding service. As a general rule, the people helping out in this forum don't write code for others (especially code that appears to be for homework), but try to help with fixing code that doesn't work. You may perhaps get someone to write this script for you, but you'll be far more likely to get help if you have made a substantial effort and written some code yourself. Then someone here will almost certainly help you correct/improve your work.


It is your responsibility to die() if necessary….. - PHP Manual



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum