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

  Design a class named pet which should have the name fields

Design a class named Pet, which should have the following fields: •Name - The name field holds the name of a pet. •Type - The type field holds the type of animal that is the pet. Example values are "Dog", "Cat", and "Bird".

  Write down a program to request the user to input a numeric

write a program to request the user to input a numeric value. if the input is even the program will display all the

  Confi gure the repository and define the repository

Configure the repository and define the repository usernames and passwords - Install the subversion package.

  Create a procedure to populate an array

In many programs you will want to store a number of values, where each of those values is a record - how to declare and work with arrays of records - calculate the total of all of the expenses of a certain kind.

  Identify and describe any potential ethical issues

Explain what type of architecture the new payroll application should use and why and Identify and describe any potential ethical issues that could arise in connection with the new architecture

  Write program to initializes array with ten random integers

Write a program which initializes the array with ten random integers and then prints four lines of output, containing: - Every element at an even index.

  Show the total monthly cost of the expenses

Write a program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile:

  Write the code that will execute according to the program

Design a Windows application and write the code that will execute according to the program requirements in Figure 4-104 and the Use Case definition in Fig 4-105.

  How can the two arrays share the same memory

This results in the two arrays sharing the same portion of memory. Can you picture this? How can the two arrays share the same memory?

  Print the minimum cost of conversion for each string

Print the minimum cost of conversion for each string to a Super Ascii string - Your task is to convert the string to super ascii with the minimum cost. While converting the string to super ascii, the final string should contain the same characters ..

  Create a very basic calculator map out the numeric keypad

Create a very basic calculator, map out the numeric keypad (17 buttons) and an EditText view. If text is given, prompt the user with a message that complains about the error.

  Write a function that converts the string to all uppercase

CSE 224- Write a function that counts and returns the number of consonants in the string. Write a function that converts the string to all lowercase. Write a function that converts the string to all uppercase.

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