Home Answers Viewqa Development-process Logic and desgin HELP just need to get started on this.

 
 


Cynthia
Logic and desgin HELP just need to get started on this.
0 Answer(s)      a year and 3 months ago
Posted in : Development process

  1. Write a program that accepts five homework scores as input values and stores them into a table (which is another name for an array). Once the scores are in the array, we can process them again and again.

First, load the scores in your array. Second, display the contents of the array in order. Third, display the array in reverse order. Fourth, calculate the average of the five scores entered in the array. Finally, the algorithm should display all the homework scores in the array that are larger than the previously calculated average. Make sure you use some output statements to clarify all the details you are displaying, being cautious about spelling and communicating to your user

2.Customers will not know exactly how many items they will purchase, so using a for-loop on this lab is not allowed.

Accept the dollar value of each item purchased from the user until the user is finished.
When purchases are complete, enter a sentinel value of -1 (Make certain you do not include the -1 sentinel value in your total).
Keep track of the total dollar amount of all fireworks purchased. Keep a tally of the number of items purchased. If more than 20 items were purchased, give your customer a 10% discount on the total purchases.
Once purchases are complete, display the total number of items purchased, the average price of the items, the total of all fireworks purchased, any discount if applicable, and the total of all fireworks purchased minus the discount.

View Answers









Related Pages:
Logic and desgin HELP just need to get started on this.
Logic and desgin HELP just need to get started on this.   Write a program that accepts five homework scores as input values and stores them into a table (which is another name for an array). Once the scores are in the array, we
Logic and Degin
Logic and Degin  Need help in writing a pseudocode for this can so please help me with this just need to get started. In this lab, you are going to extend the Fireworks Checkout Stand application in Week 6. This week, we
Logic and desgin
Logic and desgin  How would this be put in visual logic symbol
Just Got The New iPad? Getting Started?
should know to help get you started. The basics As with any device you...Just Got The New iPad? – Getting Started Since its release in early... of to help you get the full experience out of your new iPad. All that’s
VoIP Getting Started
.    VoIP- Getting Started To get started you need VoIP... VoIP Getting Started          VoIP Getting started with SIP Voice-over-IP (VoIP
Need some help urgently
Need some help urgently  Can someone please help me with this below question. I need to write a class for this. If you roll Y standard six-sided dice, whatââ?¬â?¢s the probability that you get at least X 4's? To calculate
Logic error? HELP PLEASE! :(
Logic error? HELP PLEASE! :(  Hello Guys! i have a huge problem. What... there is a text box which user to key in their email and one more dropdownlist which get... in the email. then use the email to get the date and populate into the dropdown list. I
Need help
Need help  Hello... I need some help I have a method which contains 1 string value and i wnat when this method get called den that string value should b assigned as array name.. for example.. i have a method name() which
Need help
Need help  Hello... I need some help I have a method which contains 1 string value and i wnat when this method get called den that string value should b assigned as array name.. for example.. i have a method name() which
Need help
. This name list should get from the database. Please help me. By the way, I'm...Need help  Dear sir, I have a problem. How to write JSP coding, if a user select a value from drop down list for example department, the another drop
Requirements for JSF to get started
Requirements for JSF to get started  What are the requirements for JSF to get started
Not getting the logic - JSP-Servlet
parameter that will get information from inline edit field and i need another page to get those selected checkbox values to send mail to selected candidates... i need to send those information to another page to send mail to those
Logic Iterate.
Logic Iterate.  I have one doubt about logic:iterate. I use text feild inside of logic:iterate , there is possible will generate N no of rows (text feild) inside of iterate. my doubt is how to get the Paritcular rows text
JSP Getting Started, Getting Started With JSP
are providing step by step instruction to get started with JSP. Step 1... every thing is ready to get started with JSP programming. Now you can write...Getting Started with JSP This page is all about getting started with JSP
Just-In-Time Manufacturing (JIT)
one need not to pay extra rent for the space. Just-in-time manufacturing system...Just in time is a concept of zero wastage production in project management... emphasis on reducing the carrying cost of inventory in order to get maximum profit
Logic Iterate.
Logic Iterate.  logic iterate Struts I have one doubt about logic:iterate. I use text field inside of logic:iterate , there is possible will generate N no of rows (text field) inside of iterate. my doubt is how to get
Web Application Development Getting Started
want to do it is just a matter of how to do it. Determine what you will need... or if you need help from an IT friend of yours. Draw up a stepwise plan to illustrate...Web Application Development – Getting Started Web applications
Logic - JDBC
Logic  Hi All, I have jsp page which contains 9 labels.. 4 labels stores in one table and remaining from another table... I need to collect... specify some more details. Thanks  Hi, I think that you want to get
JSP Tutorials, Getting started with JSP
Getting started with JSP The JSP getting started tutorial will help you in learning JSP from scratch. You will be familarized with the topics you need... JSP JSP Tutorials Above tutorials will help you in getting started with JSP
Need Help With This Scenario
Need Help With This Scenario  The bonnet of a car is opened to determine if there is anything wrong with the engine. Firstly, the radiator water... low, the battery is replaced with a new battery. Finally, the car is started
Need Help With This Scenario
Need Help With This Scenario  The bonnet of a car is opened to determine if there is anything wrong with the engine. Firstly, the radiator water... low, the battery is replaced with a new battery. Finally, the car is started
need help to create applet
need help to create applet  Can u help me..?? I get a task ...and i dont know how to make it... So I hope that u can help me... Here is the task... If u can help me, then please send it to my email lcfahmi90@yahoo.com http
Need Help on the script
Need Help on the script  hello there, My name is Femi and am a web... dont know if you can help me out with it. The platform am building will receive..." without quotes, and it may be longer than that. Now how do i get it to my
need help...................please
need help...................please  I have a problem in my JSP Coding... on this area. Please help me. By the way, I'm using access Database and JSP coding... dropdown corresponding values will get displayed into textboxes. 1)selectname.jsp
need help. - Java Beginners
program code and get to the output in uppercase letter.amar
struts <logic:iterate problem - JSP-Servlet
to display only 4 rows at a time and i need to provide pagination logic here like...... please help me out... i am getting all the records in hashtable..." then next u will get wanted result by u  pagesize="5
Need to get the Data based on Date
Need to get the Data based on Date  Hie , I am having a criteria where i need to get the data based on date . I have written the query as "from... that time field and execute the query can any one please help as soon as possible
Need help in constructing bubble sort
Need help in constructing bubble sort  using a bubble sort, for each entry in the array, display the original index of the first dimension... array figured out just couldnt dont know how to plug in the bubble sort
Netbeans Question need help desperately!!
Netbeans Question need help desperately!!   Ok here is my code..., number, frequency[die1][die2] + 1); okay that's the code....I'm trying to get... dice. How do I get the frequency of the numbers to print
i need help plz .... Quickly
i need help plz .... Quickly   how can i count how many numbers enterd by the user so the output would be like this Total number of Scores...(); System.out.println("Now , I'll get the total Scores you've entered
Need help with this!
Need help with this!  Can anyone please help me... to a file at all at this time. Any help would be greatly appreciated, thank you... to effectivly end the loop with out the need to break it. for(i=(0); i <
PLZ HELP ME. i need php code.
PLZ HELP ME. i need php code.   I want php code for bellow OUTPUT. output is just example but it must be letters only. abc bcd efg jku rgt azs hje qqc wws adt
Help me to create a sharing text just like facebook using jsp servlet and oracle
Help me to create a sharing text just like facebook using jsp servlet and oracle   I tried to use lot of methods but i couldn't get the proper method... some thing into public! so please help me to do this project. And one more
open source help desk
Open Source Help Desk Open Source Help Desk Software As my help desk software product, HelpSpot, gets closer to being finished I?ve started thinking... of the major open source help desk software offerings. I?m not doing
need help on writing a program. - Java Beginners
Writing first Java Program  Hi, I need help to write my first Java Program other then Hello World! Thanks!!  Hi Thanks for choosing roseIndia to get your query solved. check given link to see the solution of your Java
need
need  i need a jsp coding based project plz help me
Is It Possible To Make $5,000 By Writing Just One Article?
Is It Possible To Make $5,000 By Writing Just One Article... for a number of fields and specialist writers often get more money as compared... in today's times. General writers as well as specialist medical writers just can't
need help pleaseee....i weak in java
need help pleaseee....i weak in java  QUESTION 1 You are required to write an application called Customer Billing System. This system.... Next, get the difference between current meter reading and past meter reading. b
just a short question.!!
just a short question.!!   Can anyone help me with this short question? please :) **What is printed by the following C++ code? cout <<
Logic and Design
Logic and Design  Please help me with this Write a program that prompts and accepts a number between 1 and 12. After getting the input, display the number with the appropriate month. (example: This is the 1st month¦January
logic-iterate
logic-iterate  in my code i am using for-each loop for displaying data i want use tag to display data how to use plase help me <%@ page import="java.sql.*" %> <%String[] id = (String[])session.getAttribute("ids
I need your help - Java Beginners
I need your help  For this one I need to create delivery class for a delivery service .however, this class should contain (delivery number which.... Also include these methods to (set the delivery fee, set and get every Delivery
How to get started with your E-commerce business
How to get started with your E-commerce business The sky touching popularity... it. But, if you choose a new product for your business, you may need more time and money... scratch, even then you need to choose your product of transaction wisely. As you
Just checking elswhere
Just checking elswhere  I have been posting some questions within the HTML group but getting no joy. I thought I would try another area. The main...="showComment();"> </body> </html> Please can you help
Need Help on JMS - JMS
Need Help on JMS   Hi, In my application i need to create my own ques and my own QueueConnectionFactory..... Plz tell me how to create the same... Any help is appriciated,.. Thanks in advance
Need help with nested queries
Need help with nested queries  Hello, Table1 has "id", "votes" columns. Table2 has "id", "Name" column. I need to retrieve Name and its corresponging Votes. I tried with nested queries but its confusing. Can anyone please help
Getting Started with jQuery
feature of jQuery with the help of an example. First of all we need to download... in web site development procedure, with the help of jQuery developers can develop website with much ease. To use jQuery all need to do to download the jQuery.js
need help please
need help please  Dear sir, my name is logeswaran. I have a big problem that I can't find the solution for a program. How can I block a user from enter a page second time. Please help me. By the way I'm using Access database
Need Help in Java programming
Need Help in Java programming  Hello. Can someone please help me with writing the following program Java program that gives assignment details such as:assignment number,assignment name,due date,submission date,percentage marks
Need help on JAVA JSP
Need help on JAVA JSP  Hi, I have never worked on java and I have been given an assignment where I have to fix existing issues in the tool(created...(need to know how I can adjust it based on the cureen system's screen resolution

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.