Write the function and call it in the code

Assignment Help DOT NET Programming
Reference no: EM131347002

Assignment

PART 1: A retail store is having a customer appreciation sale. Depending on the total dollars purchased, the customer could receive a discount on his or her total purchases. You are to develop pseudocode or C# code that will obtain the total dollars purchased from the user, determine the discount percentage, and display the total amount due. When the purchases are more than $200, the discount is 20%. When the purchases are $200 or less, the discount is 10%.

 

PART 2: Create a function called calcDiscount that will calculate and return the discount amount. Write the function and call it in the code.

Reference no: EM131347002

Questions Cloud

Determine the upstream and downstream mach numbers : Determine the upstream and downstream Mach numbers and static pressure and temperature ratios across the shock wave.
Write a response about the given post : After extensively getting to know/researching my chosen leader a question to ask onself is what does one take from this example. Mrs. Indra Nooyi was not a person wih a famous/well known name like other peers/CEOs  but has left a mark with me. ..
Determine the maximum density ratio : Using this relation, determine the maximum density ratio (ρy/ρx)max that can occur across a normal shock wave in air.
Summarize the major provisions of the law that you chose : Choose 1 U.S. environmental law. State the name of the law and the date the law was passed and summarize the major provisions of the law that you chose.
Write the function and call it in the code : Create a function called calcDiscount that will calculate and return the discount amount. Write the function and call it in the code.
Explain the evolution of cyberspace through time : Explain the evolution of cyberspace through time. Identify one of the biggest developments that have changed the face of cyberspace. Examine the advent of e-Commerce and its impact on cybersecurity.
Write a program prompt the user for the appropriate input : Write a program using C#, prompt the user for the appropriate input, and display the output as described above. You may assume all data are valid. Provide a program introduction message that tells the user how to use the program.
Determine efficiency of converging diverging diffuser : The test section has a Mach number of 2.70, and the convergingdiverging diffuser section has an exit pressure of 1.00 atm. Determine the efficiency of the converging-diverging diffuser section.
Does player b have a dominant strategy : Does Player B have a dominant strategy? Explain why or why not

Reviews

Write a Review

DOT NET Programming Questions & Answers

  Develop web services based application

Develop and test a Web services based application that meets the requirements applying SOA design principles.

  Design style elements in asp

Add drop down lists for modifying the different style elements for the label element that displays the time

  Create a shopping cart in asp

The users will use a browser to access the on-line store. The web server software for the production web server is Windows 2003 Server /IIS6.

  Inventory management system in c# application

Inventory management system in c# application

  Using .net resources to teach .net

This project will use the .NET framework to produce a set of materials to demonstrate the fundamental principles of .NET. Ideally it should demonstrate some of the principles of the framework e.g. interoperability.

  Prepare a marymount faculty site

Prepare a Marymount faculty site

  Blinky lights

Analysis proving that your code blinks the LEDs at the specified rates.

  Prepare a web application

Prepare a web application that will be used to keep track of patients registering in a hospital.

  Implementing the insurance management system

Implementing the Insurance Management System and implementation of Components as Web Services.

  Describe the characteristics of visual studio 2005

Describe the characteristics of Visual Studio 2005 Visual Studio.Net is a suite of products that includes 4 main languages. Name these languages and outline their use in industries

  What is a connectionstring

What is a ConnectionString. Give a suitable example to illustrate the various part of a ConnectionString

  Prepare a web application for internet service provider

Prepare a Web application and write the code also event planning document base. This web application allows the user to sign up for an Internet service provider for home connectivity.

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