Create variable discountedprice as double productprice

Assignment Help Business Management
Reference no: EM13946188

PART ONE:   Description: This logic applies a discount on an item unless the discounted price is less than the whole sale price Program: applyDiscount  Create variable productPrice as double Create variable discount as double Create variable wholesalePrice as double Create variable discountedPrice as double productPrice = get value from user input discount = get value from user input wholesalePrice = get value from user input      discountedPrice = productPrice * (1 - discount)      if (discountedPrice < wholesalePrice)         discountedPrice = wholesalePrice      end if  Display discountedPrice End program 

PART TWO : 

Present a solution using pseudocode similar to what you saw in part 1.

  • Identify the logic needed to select a payment option, and get payment details.
  • The logic needs to capture the payment option from the user.
  • Two options should be available for the user to select from:
    • Electronic check with routing number and account number
    • Credit card with account number, expiration date and CVV code
  • The logic should check the selected option using a decision-making statement and provide the corresponding statements to capture the payment information based on the selection.

Reference no: EM13946188

Questions Cloud

A major chemical company : Upon graduation from college, Edison was hired by a major chemical company. During the time when he was employed by the company, Edison discovered a synthetic oil that could be manufactured at a very low cost.
Theresa leased a one-bedroom apartment from landlady : Theresa leased a one-bedroom apartment from Landlady for one year at $500 per month. After three months, she vacated the apartment. A family of five wanted to rent the apartment, but Landlady refused. Three months later-six months into what would hav..
Is burch entitled to the farm : Silverman, who was elderly and somewhat disabled, lived alone on a farm. Silverman called Burch and said, "Burch, if you will move in with me and help me take care of the farm, it will be yours when I die." Burch did as Silverman requested and on Sil..
Case referred to in the article is the 1992 landmark case : The case referred to in the article is the 1992 landmark case reported as Liebeck V McDonalds Restaurants. It is a case that elicited more than just a couple concerns. Twenty four years on and it still raises just as many eyebrows as it did back then..
Create variable discountedprice as double productprice : PART ONE:   Description: This logic applies a discount on an item unless the discounted price is less than the whole sale price Program: applyDiscount  Create variable productPrice as double Create variable discount as double Create variable wholesal..
Delivered within health care includes legal : The foundation upon which excellence is delivered within health care includes legal, regulatory, and industry standards, as well as performance measurement and quality improvement. Research the Joint Commission Web site.
The manager in this function must set the direction : Planning- The manager in this function must set the direction overall. An example of this could be targets or goals to be achieved for the overall company departments or individuals.
Thermal conductivity and emissivity of the sample : Consider a sample of thickness L = 25 mm and a square planform of width W = 250 mm. In an experiment per- formed under steady-state conditions, temperature mea- surements made at the lower and upper surface of the sample yield values of T1 = 150°C..
What is the p-value of the test : What is the test statistic that will be used to test the null hypothesis? What is its distribution when the null hypothesis is true? Assuming a 2% significance level, what is the decision rule for rejecting null hypothesis?

Reviews

Write a Review

Business Management Questions & Answers

  Question about information security

Explain the process of risk identification, risk assessment, and the development of risk control strategies in designing security for an information management system.

  Perform a vrio analysis

Perform a VRIO analysis. What is Genentech's competitive advantage, if any? 2. Apply a PESTEL analysis. What impact will changes in health care and biogenerics regulation have on Genentech? Why? 3. Apply a five forces analysis. How would you describe..

  What happens to consumer as well as producer surplus

What happens to consumer as well as producer surplus when the sale of the good is taxed? How does the change in consumer

  Illustrate what you think hdnet should charge carriers

illustrate what you think HDNet should charge carriers for access to its channels also original programming.

  Write steps to take making decision to implement program

Utilizing S.W.O.T. analysis write down 1,000 to 1,200 word paper explaining steps to be taken in making decision to implement the program or not at this time.

  Are the pricing decisions for the market for a health care

are the pricing decisions for the market for a health care good or service such as blood or organ donation or nursing

  Explain training equity also glass ceiling

Explain training equity also glass ceiling also then analyze how these terms related to Ms. Conner. Analyze issues that Ms. Conner dealt with also suggests ways that these issues could have been avoided or mended.

  Illustrate what can we do to mitigate the problem associated

Illustrate what can we do to mitigate the problem associated with questionable information found on sources such as wikis?

  Compare and contrast the affective and cognitive models

Compare and contrast the affective and cognitive models of participative decision making.  How do these models differ in their conceptualizations of the links between motivation, productivity, and satisfaction?

  Theories and concepts of participation in online communities

Looking at the different theories and concepts of participation in online communities there are three main behaviors that I feel best encompass my personal social media activity.

  Analyze the corporate-level strategies for the corporation

Analyze the corporate-level strategies for the corporation you chose to determine the corporate-level strategy you think is most important to the long-term success of the firm and whether or not you judge this to be a good choice. Justify your opi..

  Cindy johnson graduated from podunk university

she wanted to participate in the pension plan. Mars rebuffed her due to her age. Cindy wishes to sue under ERISA. Explain how would you advise her

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