Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa HTML C# how to calculate discount
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


skypo
C# how to calculate discount
1 Answer(s)      2 years and 5 months ago
Posted in : HTML


We are selling Monitors. We have decided to give discounts based on the following items.

i. CRT monitors attract 10% discount

User is required to provide all the details mentioned in the following registration form If user fails to enter for example User Name then the Message box should pop up with â??Please Enter your User Nameâ?? .It should be same for all the fields. When user enters all the details then all the details should be displayed in a Label.

ii.LCD monitors are of 2 types

a. 21 inch attracts 8% discount

b. 23 inch attracts 5% discount Ask the user to enter the type of monitor. If the user enter CRT, display the appropriate message. If the user enter LCD, ask the user to enter the size. Based on the size entered by the user, display appropriate messages.

Hint: - use 'If...else' construct - use Relational operators


Advertisement
View Answers

May 6, 2012 at 12:39 PM


help this problem plsss



Related Tutorials/Questions & Answers:
Calculate Entropy using C++
Calculate Entropy using C++  # include <iostream> # include <cmath> using namespace std; int main() { float S0,S1,S2,S3; float Hs,Hs3; float
the discount system.
the discount system.  hi.. im a beginner here in java. sadly i was asked to code this one. about inheritance. and i absolutely dont know how.. will someone will help me with this? please. i was asked to write a discount system
Advertisements
the discount system.
the discount system.  hi.. im a beginner here in java. sadly i was asked to code this one. about inheritance. and i absolutely dont know how.. will someone will help me with this? please. i was asked to write a discount system
How to calculate days in a year
How to calculate days in a year  Hi, How to calculate no of days in a year? I want a program that calculates no of days in a year by specifying year a parameter. Thanks   Hi, Please check the thread example
How to calculate attending hours?
How to calculate attending hours?  I need to calculate attending hours of a employee in a day in my project to make their monthly salary . By using work starting time and ending time. How should I do it using Date class? Or any
How to calculate the average in Hibernate?
How to calculate the average in Hibernate?  Hi, I have to calculate the average in Hibernate. How to calculate the average in Hibernate? Thanks   Hi, You can use the project in Hibernate. Here is the example code
discount system.
discount system.   i was asked to write a discount system... receive a discount of 20%, 15%, and 10% respectively, for all services provided. Customers without membership receive no discount. all members receives a flat 10
how to calculate EMI of the loan
how to calculate EMI of the loan   package carloanapp; import java.io.FileWriter; import java.io.IOException; public class CarLoan { Customer gObjCustomer = null; double gDbRequestedLoanAmount = 0; double
how to calculate the price on the option box
how to calculate the price on the option box  How i calculate the value when i using a option box with 2 option..first option i used for product name... to calculate this value
How to calculate area of rectangle
How to Calculate Area of Rectangle       In this section we will learn how to calculate area... explain the static method how to display the rectangle values. First of all we have
how to calculate the employee tax - JSP-Servlet
how to calculate the employee tax  How to calculate the employee tax.Can u please send to me calculation tables
how to calculate max and min - RUP
how to calculate max and min  hye!i'm a new for the java and i want to ask a question . Could anyone help me to teach how to calculate the maximum and minimum using java language.  Hi friend, In Math class having two
How to calculate sum of HH:MM:SS Format?
How to calculate sum of HH:MM:SS Format?  how to calculate sum of HH:MM:SS? for example: 10:25:36+26:50:56 calculate sum of these values
how can i calculate loan - Java Interview Questions
how can i calculate loan  negotiating a consumer loan is not always straightforward.one form of loan is the discount installment loan, which works.... the program should then calculate the face value required in order
How to calculate number of weeks in a specified month
How to calculate number of weeks in a specified month  I am create one program that contain three combo box. 1.cmbyear 2.cmbmonth 3.cmbweek i am select year and month. then automatically calculate number of weeks in a specified
How to calculate area of triangle
.style1 { margin-right: 0px; } How to Calculate...; In this section we will learn how to calculate area of triangle. We... in this program we will fine the how to the display massage the area
C calculate sum of first and last element of array
C calculate sum of first and last element of array In this section, you will learn how to calculate sum of first and last element from the array of five numbers. You can see in the given example, we have allowed the user to enter five
how to calculate max and min in the loop - Java Beginners
how to calculate max and min in the loop  thanks coz giving me the answer for my question. i want to know is there possible calculation for the max and min value in the loop. the input is from the user. could u teach me. thanks
write java code discount bookstore - Java Beginners
write java code discount bookstore  The question Cik Mat operates... has these attributes: title, author, ISBN, price and discount (discount is 0...) that a customer buys: i. Book title ii. Author iii. ISBN iv. Price v. Discount vi
how to calculate salary of all the employees 10%extra then actual salary - SQL
how to calculate salary of all the employees 10%extra then actual salary  how to calculate salary of all the employees 10% extra then actual salary  Hi Friend, We are providing you a code that will calculate
Java Showroom Application
that imposes discounts on purchase of items. Here we are going to calculate the amount to be paid by the customers after the discount on purchase of items. There is a discount on the following items: T Shirt - 10% discount Silk sari- 30% discount
how can you calculate you your age in daies??
how can you calculate you your age in daies??  **hi, I am beginner in java! can any one help me to write programm to calculate age in daies???**   Hi Friend, Try the following code: import java.util.*; public
how to acces file in c - WebSevices
how to acces file in c  How to acces file in c.... I have doubt on visual c++ ... how to create dialog control in visual c
How to create dynamic array in C?
How to create dynamic array in C?  How to create dynamic array in c programming language?   Dynamic Array in C Tutorial
how to read from dictionary c
how to read from dictionary c  how to read elements from dictionary in c programming
How to read user input in C++
How to read user input in C++  How can i get an input from the users in C++?   You can use the standard input "cin" to get the input from user.. For example: int age; cin >> age
how to calculate addition of two distances in feets and inches using objects as functions arguments
how to calculate addition of two distances in feets and inches using objects as functions arguments  how to calculate addition of two distances in feets and inches using objects as functions arguments in java
calculate average
calculate average  Question 2 cont.d Test case c: home works/labs 10 9 9 9 10 10 9 9 10 10 9 9 10 test scores: 65 89 note, the program should work with different numbers of home works/labs
c++
c++  .write a program that accepts 5 subjects of a student,it should have a function to calculate the average & another function to grade.grade should be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70
c++
c++  write a prgrm tht calculates the surface area of a cylinder.the prgrm shld find the circumfrance and have a function that calculates the fadius and another to calculate the surface area
problem 1 = C#
C# how to calculate discount   We are selling Monitors. We have...% discount User is required to provide all the details mentioned... attracts 8% discount b. 23 inch attracts 5% discount Ask the user to enter
 

 

 

DMCA.com