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

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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