![]() |
|
#1
|
|||
|
|||
Please help computer programming 101 questionsWell i need help completing these programs. They have to be written in module or whatever and have to have flow and hierarchy charts. I can do the charts but if someone can help me out with the rest that'd be great. This just has to be written in very basic modular/pseudocode language.
module main () etc etc etc 4. A book club awards points to its customers based on the number of books purchased each month. The points are awarded as follows purchase 0 books, 0 points 1 book, 5 points 2 books, 15 points 3 books, 30 points 4 or more books, 60 points design a program that asks the user to enter the number of books that he or she has purchased this month and displays the number of points awarded 5. A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount 10-19 20% 20-49 30% 50-59 40% 100 or more 50% Design a program that asks the user to tneter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. 6. Shipping charges Company charges the following rates: weight rates per pound 2 lbs or less = 1.10 over 2 but not more than 6= 2.20 over 6 but not more than 10 = 3.70 over 10 = 3.80 design a program that asks the user to enter the weight of a package and displays the shipping charges. |
|||
|
#2
|
||||
|
||||
Re: Please help computer programming 101 questionsPlease show us your work and ask specific questions on what you need help with.
__________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
|
#3
|
|||
|
|||
Re: Please help computer programming 101 questionsEverything if possible. This quarter has been hell for me as I thought I could handle 2 jobs and 4 classes at a tech school. I just discovered that programs are 60% of our grade. So i just need to get these 3 out of the way and try to move forth.
|
|
#4
|
|||
|
|||
Re: Please help computer programming 101 questionsWell all i have so far for the first one is
Module Main () Declare //Prompt User for the amount of books purchased this month Display "how many books were purchased this month?" Input bookPurchase i'm lost from here |
|
#5
|
|||
|
|||
Re: Please help computer programming 101 questionsQuote:
|
|
#6
|
|||
|
|||
Re: Please help computer programming 101 questionsEvery one of your problems has the same basic process:
1) Get input from the user and store it into a variable of some kind 2) Process the input to get the output 3) Display the output to the user You will have to add the details for each scenario. |
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| List of programming related questions | juvenile386 | Miscellaneous Programming Forum | 4 | 05-Jul-2007 08:49 |
| Student programming questions | Shawn | Miscellaneous Programming Forum | 1 | 02-Apr-2007 22:31 |
| A few questions for someone in the programming industry. | WAEvans | Miscellaneous Programming Forum | 0 | 08-Oct-2006 10:19 |
| Computer Programming Question | knuckle50 | MySQL / PHP Forum | 3 | 09-Mar-2006 10:14 |
| Computer security article | crystalattice | Open Discussion Forum | 0 | 01-Oct-2004 15:31 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The