Highest and lowest scores

Assignment Help Basic Computer Science
Reference no: EM131934454

Iterative problems

1. The Main Street Boutique is having a five-day sale. Each day, starting on Monday, the price will drop 10% off the previous day's price. For example, if the original price of a product is $20.00, the sale price on Monday would be $18.00 (10% less than original price). On Tuesday the price would be $16.20 (10% less than Monday). On Wednesday the price would be $14.58; on Thursday the sale price would be $13.12 and on Friday the sale price would be 11>81. Develop a solution that will calculate the price of an item for each of the five days, given the original price. Test the solution for an item costing $10.00.

2. Make changes in the solution to problem 1 to set the price at wholesale when the price drops below the wholesale price. Test the solution with the following prices:

Retail Prices:        $20.00, $25.00

Wholesale Prices  $10.00, $20.00

3. Develop a solution that will calculate the average temperature, given a set of temperatures. The number of temperatures may vary from time to time. (Use a trip value (counter) to stop the processing of the loop.) Test the solution with the following 10 temperatures

78, 90, 85, 80, 87, 83, 75, 90, 86 and 70

4. Mr. Nields has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores. Develop a solution to calculate and display these values. (Use a counter to stop the processing of the loop.)

Reference no: EM131934454

Questions Cloud

What are the configuration entries used : What are the configuration entries used in the /etc/dhcp/dhcpd.conf file to specify the TCP/IP parameters for IP address range
Discuss correlation between counselors and self-awareness : Culture can be very specific to an individual or family. Often, when assessing for what?, cultural individuals will ask "What is your culture?"
To what degree are drug use and criminal recidivism related : To what degree are drug use and criminal recidivism related? Are mental illness and violence related?
Identify the type of software or management tools : Conduct research using the Internet and identify the type of software or management tools that you would utilize to help with each of the major steps in develop
Highest and lowest scores : Mr. Nields has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores.
Advise mb of their potential liability to olaf in dismissal : Advise MB about the possible claims that could be made against them by Preeti and Dave and Steve under the Equality Act 2010 and the potential remedies.
What modifications suggest in performance appraisal systtm : If you were the HR manager, how would you tackle the situation? What modifications would you suggest in the performance appraisal system of the company?
What message does the attached primary source image : What message does the attached primary source image deliver about Jackson's politics? What specific evidence supports your conclusion?
Develop the website and online admission application : Discuss whether you will use a traditional or web-based development strategy to develop the website and online admission application

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Sells stationary cycles to fitness centers

The Cycle Stationary Unit (CSU) is a company that sells stationary cycles to fitness centers, rehabilitation centers, and home consumers. CSU is a multi-million dollar business that employs 1,000 employees for the building, selling, packaging, and..

  Risk analysis on a school information assets

Let's do some risk analysis on a school's information assets. The school stores many types of about students and three of these are:

  What can you conclude about the test''s reliability

what can you conclude about the test's reliability

  Perform a financial checkup

It has been suggested by Jamie Lee and Ross's professional investment counselor that they perform a financial checkup as the first step in investing in mutual.

  Draw an object diagram

Note, in particular, that the filter variable in make Menu Bar has been declared as final, as discussed in Section 11.4.8. Make sure that you understand why this is necessary.

  Identify data-level parallelism and task-level parallelism

Compare the cake-making task to computing 3 iterations of a loop on a parallel computer. Identify data-level parallelism and task-level parallelism in the cake-making loop.

  Design an algorithm that will prompt for and receive 10

A  flow chart for the following problem. Just a flowchart. Design an algorithm that will prompt for and receive 10 integers from an operator  at a termina

  Function that given a list of five or more numbers

finds the five smallest and five largest numbers in the list withoutsorting the entire list & plot the smallest vs. the largest.

  Social organizations and core competencies

Investigate the importance of effective change leadership in relation to an organization's adoption of social media initiatives.

  Analyze the lead response for fishbone apatite

The pH was then adjusted to 5 or 7 using nitric acid. Sufficient concentration of lead nitrate solution was added to each flask to result in a final volume of 200 mL and a lead concentration of 0.483 or 2.41 mM, respectively. The experiment was a ..

  Define the sql to create a member table

The uid is a unique login name. Everyone must have a different email. Passwords are stored in encrypted form, and status can be either active or inactive.

  Report on elliptic-low pass-bandpass-butterworth

Understanding Elliptic filters:  Elliptic filters are a class of filters that are well understood and well documented, even though their treatment in our textbook is extremely brief.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd