Home Answers Viewqa HTML C# how to calculate discount

 
 


skypo
C# how to calculate discount
1 Answer(s)      a year 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

View Answers

May 6, 2012 at 12:39 PM


help this problem plsss









Related Pages:
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
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
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
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
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 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
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
Calculate Company's Sale using Java
Calculate Company's Sales Using Java In this section, you will learn how to calculate Company's sale. A company sales 3 items at different rates and details... of the week c) Average sale per day Here is the code: import java.io.
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
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 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
calculate average
calculate average   Design and write a java program to determine all... to the original number. abc = a^3 + b^3 + C^3 ( NOTE 407 is one of them) 2.Design and write a program and calculate your final average in this course. The details
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
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 accepts 5 subjects of a student,it shld hv a function to calculate the average & another function to grade.grade shld be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70
C++
C++  How can i write this in dev c
C++
C++  How can i write this in dev c
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
c++
c++  Write the definition of the class dayType that implements... on an object of type dayType: a. Set the day. b. Print the day. c. Return the day. d. Return the next day. e. Return the previous day. f. Calculate and return
C++
C++  dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser
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
c++
; double w; }; xClass x; a. How many members does class xClass have? b. How many private members does class xClass have? c. How many constructors does class xClass...c++  Consider the following declarations: class xClass { public: void
c++
; double w; }; xClass x; a. How many members does class xClass have? b. How many private members does class xClass have? c. How many constructors does class xClass...c++  Consider the following declarations: class xClass { public: void
Java example to calculate the execution time
will describe you the way that how one can calculate or get the execution time... Java example to calculate the execution time  ... endTime. Now by subtracting the startTime with endTime we can calculate
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
Calculate total number of elements remaining in the buffer.
Calculate total number of elements remaining in the buffer. In this tutorial, we will discuss how to calculate total number of elements remaining... C:\>java RemainElement Current position of buffer:0 Current
calculate reward points.
calculate reward points.  How to calculate reward points in a multiplex automation system
Find in Array - Calculate Occurrences of Elements in Array
to calculate occurrences of elements in an array. Occurrences means, the how many...;javac OccurancesInArray.java C:\chandan>java OccurancesInArray How many... Find in Array - Calculate Occurrences of Elements in Array
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
C,C++
C,C++  Sir, 100&30 gives output 4 in C++ and 100|30 gives output 116 How & and | gives output 4 and 116
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
C,C++
C,C++  int i=100,j=20; int c=i&j; int r=i|j; printf("%d",c); printf...(){ int i=100,j=20; int c=i&j; int r=i|j; printf("%d",c); printf("%d",r); getch(); } The above code displays the output: 4116   Sir how i&
Calculate factorial of a number.
Calculate factorial of a number.  How to calculate factorial of a given number?   import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Factorial { public static
Calculate sum and Average in java
Calculate sum and Average in java  How to calculate sum and average in java program?   Example:- import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class AvarageTest
Discounted Website, 50% Discount on website,Website Rs. 5000/- a year!
: 09313063554 Email: deepak@roseindia.net How to Buy? Payment Option 1 PAY
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
calculate difference between two dates
calculate difference between two dates  hi, I was actually working on to calculate the number of days between two dates of dd/mm/yyyy format using javascript. can anyone suggest me how to work it outin calculating
calculate milliseconds to hh mm ss
calculate milliseconds to hh mm ss  how to calculate milliseconds to hh mm ss ? Actually i wanted to calculate week days and hours from milliseconds..?   var seconds = (mil / 1000) | 0; mil -= seconds * 1000; var
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
Week calculate start from friday
Week calculate start from friday  My problem is to calculate how many weeks have a month. Note that my weeks have to start on Friday! I have three combo boxes. First display year. Second one display month. Third one display
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
calculate difference between two time in jsp
calculate difference between two time in jsp  How to calculate difference between two dates
C Program Question - Development process
C Program Question  How i can calulate sum of First digit and last digit of Five Numbers. e.g 12345 i want to calculate 1+5=6 how i can calculate in C Program?   Hi Friend, Try the following code
adding a method to calculate a students grade
adding a method to calculate a students grade  The Following program...)) grade = 'C'; else if ((mark > 40) &...)) grade = 'C'; else if ((mark > 40) && (mark <= 50
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
based on C#
C# Alert message  1) Write the related code for the following Form... discounts based on the following items. i. CRT monitors attract 10% discount...% discount b. 23 inch attracts 5% discount Ask the user to enter the type
Calculate factorial Using Recursion
through this example you will be understand how you can calculate the factorial...Calculate factorial Using Recursion  ... to calculate the factorial. The number we have entered in the html page
Calculate the Sum of three Numbers
. In this section you will learn how to calculate the sum of three numbers by using three... how to calculate three integer number . First of all define class name "... Calculate the Sum of Three Numbers   
c++ programs
c++ programs  Write a program with the following (a) A function to read two double type numbers from keyboard (b) A function to calculate the division of these two numbers (c) A try block to throw an exception when a wrong type

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.