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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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