filmov
tv
JavaScript Exercise-1 | javaScript Tutorials

Показать описание
Full Marks : 25
Time : 2 hours
1.Enter two numbers and find which is greater.
2. Enter 3 numbers and find which is greater.
3. You went to Bigbazaar and offer announcement was like this.
a)If you buy 5 items and total amount is greater than 10,000 then they will give 10% discount.
b)If you buy 5 items and total amount is greater than 5,000 then they will give 5% discount.
c)If you buy 3 items and total amount is greater than 3,000 then they will give 3% discount.
elese no discount.
4. Enter 5 subjects marks and find total and percentage and also grade. Grade will be like this:
If marks is greater than 90 Grade A
greater than 80 Grade B
Greater than 70 Grade C
50 Grade D
Else fail.
5. Enter any number and find whether the number is odd or even.
Time : 2 hours
1.Enter two numbers and find which is greater.
2. Enter 3 numbers and find which is greater.
3. You went to Bigbazaar and offer announcement was like this.
a)If you buy 5 items and total amount is greater than 10,000 then they will give 10% discount.
b)If you buy 5 items and total amount is greater than 5,000 then they will give 5% discount.
c)If you buy 3 items and total amount is greater than 3,000 then they will give 3% discount.
elese no discount.
4. Enter 5 subjects marks and find total and percentage and also grade. Grade will be like this:
If marks is greater than 90 Grade A
greater than 80 Grade B
Greater than 70 Grade C
50 Grade D
Else fail.
5. Enter any number and find whether the number is odd or even.