Write the pseudo code using a loop function

Assignment Help Programming Languages
Reference no: EM132185905

Question: Write the pseudo code using a loop function to fulfill the requirements. If you use outside resources you must cite your work in IEEE format.

Loop functions:

Do While

If /If Else If

For

Each function must be used at least once.

1. Jeans co is a trendy colorful jean company. Whenever a customer buys one of their 5 jean colors the register lights up to match the color of the jean. Help them implement the light changes.

2. Jean co sent out a special coupon which gives the first 25 customers 50% off their order. Help them implement the coupon.

3. Star would like to make a system that allows a user to enter a number between 1 and 100. The system will then print out the numbers from the entered number to 100. For example if a user entered the number 95. The system would print out 95, 96, 97, 98, 99, 100. Help Star implement the system.

4. Star has a lemonade stand. The lemonade stand operates from 8 am to 8 pm. The lemonade is priced differently throughout the day based on demand. Below is the pricing schedule. Help Star implement the system.

8 am - $2.00

9 am - $2.00

10 am - $3.50

11 am - $ 4.00

12 am - $5.00

1 pm - $5.00

2 pm - $ 5.00

3 pm - $ 4.50

4 pm - $ 3.50

5 pm - $3.00

6 pm - $ 3.00

7 pm - $2.00

5. Draw the flow chart for one of the loop functions above. i.e. Draw the flow chart for the If/Else, Do While, For loop.

Reference no: EM132185905

Questions Cloud

Find a reported natural disaster or security breach : Find a reported natural disaster or security breach that occurred within the last 12 months. From the news accounts, determine if the incident was poorly.
Explain what is revealed by the ratios and other calculation : FINA600 Financial Management Case Study Report Assignment, Laureate International Universities, Australia. Explain what is revealed by the ratios
Characteristics of stage two of culture shock : Which of the following are characteristics of stage two of culture shock? Which of the following best defines an organizational team?
Apply the steps of bubble sort and insertion sort : Apply the steps of Bubble sort and Insertion sort, show you solution step by step for each algorithm
Write the pseudo code using a loop function : Write the pseudo code using a loop function to fulfill the requirements. If you use outside resources you must cite your work in IEEE format.
Advertising business as commercial persuasion industry : Rob Walker refers to advertising business as “commercial persuasion industry” and offers the notion of “murketing” as this industry current method of operation.
Why is computer literacy important : Why is computer literacy important? How does this notion relate to the idea of a digital divide
Discuss what is meant by the term converged network : Discuss what is meant by the term converged network and why converged networks are becoming so common. What are some of the distinguishing features.
Calculated the total sales for the year : Once all 12 months data is entered then loop through the array and calculated the total sales for the year and the monthly average for the year.

Reviews

Write a Review

Programming Languages Questions & Answers

  Create an order class constructor that takes parameters

Create a class named Order that performs order processing of a single item that sells for $19.99 each.

  Write program to read file having student'' test scores

Write a C++ program that reads a file named "grades.txt" consisting of students' test scores in the range 0-200 (all integer values). (The first number in the file specifies the number of grades it contains.

  Write liberty basic to make payment of current balance

Makes a payment equal to 5 percent of current balance suppose the customer makes no new purchases. Must be written in Liberty Basic.

  Create a windows application and design document

create a complete C# Windows application and design documents based on the following specifications and instructions.

  Create a document that displays a sports related image

Create a document (with any required style sheets and java .js files) that displays a sports related image of your choice and three buttons. The buttons should be labeled simply 1,2, and 3. When pressed, each button should change the content of th..

  Estimate the storage space for telephone book

Estimate the storage space (number of bytes) required for each of the following items: A telephone book with 10,000 entries consisting of names, addresses and phone numbers. Use your phone book to estimate the average length of an entry.

  Design logic for application for company-breakdown-payroll

Design the logic for an application for a company that wants a report containing a breakdown of payroll by department.

  Write code for invoking method named sendtwo

Write the code for invoking a method named sendTwo. There are two arguments for this method: a double and an int.

  Explaining valid advice for naming variables

Which of the following is valid advice for naming variables? To save typing, make most variable names one or two letters.

  Develop two single dimension arrays-floating-point numbers

Develop two single dimension arrays which contain 10 floating-point numbers in each array. Develop third single dimension array to hold sum.

  Write a program that prints the balance of an account

Write a program that prints the balance of an account after each of a number of years y, given an initial balance b and a yearly interest i, specified as a percentage (e.g., 5%). The values of y, b and i are all user-specified.

  Write down program which declares integer variables

Write down complete program which declares the integer variable, reads value from the keyboard into that variable, andwrites to standard output variable's value, twice the value.

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