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

  Your goal in this program is to write down an address book

your goal in this program is to write an address book. your program should present the user with three menu options1.

  Compute tax percentage using nested if

On Home Sales Data worksheet, in column E, compute Tax Percentage. Using nested IF calculate the following (Hint: do not use the function AND because if the house does not have 1 bedroom

  Create an example of a nested if structure

Create an example of a nested IF structure and build it into a small project. Compile and execute the program, and discuss any challenges you encountered. Post the code of the program

  What are the differences in the if-else and if statements

What are the differences in the if-else and if statements? Why does it make a difference in programming to understand the order of And, or, and not statements.

  Display all names and phone numbers

Allow the user to input a last name; then search the file and display all names and phone numbers corresponding to that last name

  Software system to manage records of patients

A software system is to be developed to manage the records of patients who enter a clinic for treatment. The records include records of the all regular patient monitoring.

  Write a program to print average grade of student

Write a program that read the grades.txt file and then prints the average grade of male and female students and the number of passed students by using the functions.

  Write program that asks user to enter current value

Write a program which asks the user to enter the current value of a car. For new car, it is selling price of car. The program must display number of years it takes for the car's trade-in value to be below $1000.

  Grade book program

Grade Book Program

  Program in visual basic to calculate area of triangle

Write a program in visual basic to calculate area of a triangle.

  Write a program that simulates a basic lottery

Write a program that simulates a basic lottery. Your user will "purchase" one lottery ticket. Each ticket will contain 5 unique numbers (numbers cannot be repeated within the ticket).

  Write program to perform arithmetic operations on fractions

Write a program that lets the user perform arithmetic operations on fractions. Fractions are of the form a/b, where a and b are integers and b is not equal to 0.

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