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

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

**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

Advertisements

**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 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

**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

**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

**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 average of array in Java?**
How to

calculate average of array in Java? Hi,
I have an integer array and I want to

calculate the average of the values in it.

How to

calculate... the elements of array and then

calculate sum. Then divide it with the length

**How to calculate Date Difference in Java?**
How to

calculate Date Difference in Java? Hi,
I have two dates variable.

How to

calculate Date Difference in Java?
Thanks
Hi,
You can use the Calendar class for calculating the date difference in Java.
Get data

**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

**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 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 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 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 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

**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
**C++**
C++

How can i write this in dev

c