Tashi Namgyal Academy
DUE TO CORONA VIRUS OUTBREAK SCHOOL HAS BEEN CLOSED SO STUDENT OF CLASS X APPEARING FOR ICSE 2021 CAN PRACTICE THIS PROGRAM AT HOME. Using if-else statement in java, write a program to calculate the grade according to the given criteria:Percentage marksGradeFrom 75% to 100%Passed with starFrom 60% to 74%1st DivisionFrom 40% to 59%2nd divisionLess than 40%FailTake the marks of 5 subjects as input and find the percentage and also display the grade. TN@sup3r@dm!n Write a program in java to take sale as an input and find the commission as per the given criteria.SalesCommissionMore than 10000025%From 80000 to less than 10000022.5%From 60000 to less than 8000020%From 40000 to less than 6000015%Less than 4000012.5%Write a program in java to design a calculator which is able to perform simple calculations like addition, subtraction, multiplication and division.Write a program to calculate the monthly electricity bill of a consumer according to units consumed. The tariff is given below:Units consumedRateUp to 100 units0.80 paisa per unitFor next 100 units Re 1 per unitFor more than 200 unitsRs. 1.25 per unitEvery consumer has to pay 50/ as meter charge.Write a program in java to calculate the income tax paid by Mr Kuldeep Singh to the Govt. of India on his annual income as per the slab given below:SlabIncome taxUp to Rs.50000No TaxRs.50001 to Rs. 60000 10% of income exceeding Rs. 50000/-Rs. 60001 to Rs.150000Rs.1000 + 20% of income exceeding Rs. 60000/-Above Rs. 150000Rs 19000 + 30% of the amount exceeding Rs 150000/-Take annual salary as an input and display the income tax to be paid by him.Write a program in java to convert from one unit to another unit as per the user’s choice using Switch case.Choice NoConversionKB TO BYTESMETER TO INCHGALLON TO LITERHINT:1 KB =1024 BYTES1 METER = 39.34 INCH1 GALLON = 20/9 LITERSA medical representatives of a company gets monthly commission on the basis of the sale according to the tariff given below:SaleCommissionUp to 50005% of sale>5000 &&<=10000 10%>10000 &&<=2000020%>2000030%Write a program to calculate the commission for a medical representative of a company by taking sale as input.BSNL charges for using telephones from their consumer according to the calls made (per month) as per the tariff given below:Number of callsChargeUp to 50 callsNo charge (free)For next 100 calls Re.1 per callFor next 200 calls0.90 paisa per callMore than 350 calls0.80 paisa per callHowever, monthly rental charge is 180/ - per month for all the consumer for using telephones. Write a program in java to calculate monthly telephone bill indicating no. of calls, monthly rental & total amount to be paid. Take number of calls as an input.A librarian charges fine for the books issued from the library and not returned on time at the following rates:No of daysRateFor the first 7 days0.20 paisa per day.For more than 7 days & up to 14 days 0.30 paisa per dayFor more than 14 days & up to 21 days0.40 paisa per dayFor more than 21 days0.50 paisa per dayWrite a program in java to calculate the fine assuming that a book is returned n days late.Take a number as an input between 1 to 7 and print which day will the number fall.e.g. input5FridayInput1MondayInput8Invalid InputWrite a program in java to take a number as input and print the table of a number.Input:99X1=99X2=18……………………………………..……………………………………….9X10=90Write a program to find the sum of series, take x and n as an input.SUM=x1+x2+x3+x4…….xnWrite a program to find the sum of series, take x and n as an input.SUM=1+x2+x23+x34+…xnn+1Write a program to find the sum of series, take x and n as an input.SUM=123+234+…nn+1n+2Generate the below series, taking n as an input.072663 …………………. n timesTake a, b and c as an input and find the area of scalene triangle:[hint: area = ss-as-b(s-c)2ab, where s=a+b+c2 ]Print the below series:1 1111111111111 ……… n times. ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- doha academy qatar
- khan academy statistics
- khan academy significant figures chemistry
- khan academy order of operations
- khan academy numbers and operations
- khan academy number theory
- khan academy contact us
- khan academy contact number
- khan academy significant figures practice
- khan academy significant numbers
- american academy school doha
- academy of water education