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

  Which is in need of a new program or service within comunity

Imagine you are a policymaker or city council member and are actively involved in improving the lives of the vulnerable. Via the first two written assignments, you have already selected one vulnerable population, which is in need of a new program or ..

  Self-centered role behaviors amp conflict

self-centered role behaviors amp conflict managementapproximately 100-150 words each.what can a manager or group leader

  Ensure effective decision taking based on operations

Examine the information and knowledge needed to ensure effective decision taking based on operations and issues in the scenario.

  Compliance programs created by international companies are

compliance programs created by international companies are instituted by multinational companies to promote regulatory

  Determine the objectives desired by alex from the solution

Determine the Objectives desired by Alex from the solution

  Develop a distribution pattern

A. Develop a distribution pattern that meets availability and demand constraints and minimizes total shipping costs for Shuzworld, using an appropriate decision analysis tool, as directed in section 4 ("Meeting production challenges") of the S..

  Organizational behavior and its implications for

organizational behavior and its implications for businesswrite a paper on a specific aspect of or topic relating to

  Hermanns whole brain conceptdo you believe understanding

hermanns whole brain conceptdo you believe understanding your preferences according to the whole brain model can help

  Explaining teambuilding-engagement and management

Definition of Competencies: Coaching, Mentoring & Developing Talent and Teambuilding, Engagement & Management.

  Employee benefits and wage decisioni need help in answering

employee benefits and wage decisioni need help in answering questions on human resources recruitment and retention

  What is the positive side of taking different personality

what is the positive side of taking different personality, basically want the up and down side of the different personality traits in the work place

  Skills of people with disabilities are used to the fullest

Question: If you are running an organisation and you want to make sure that the skills of people with disabilities are used to the fullest, what would you do? You may use other organisational examples as supporting cases to illustrate your plan.

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