Page 1 :
Saturday, May 15, 2021, 8:03 PM, , A company provides motorbike on rent to its members only. A class bike is created, with the following data members:, int bkno(bike number),, int phno(phone number),, int idno (id number of members),, int days(number of days the bike is taken on rent) as per the given criteria:, Number of days, First 5 days, , Rent per day, Rs. 500 per day, , COMBINED ICSE 246 Page 1
Page 2 :
First 5 days, Next 5 days, Rest of the days, , Rs. 500 per day, Rs 400 per day, Rs 200 per day, , Print the output in following format:, Bike Number, Phone, xxxxx, xxxx, , Member ID No., xxxxxxx, , No. of Days, xxxx, , COMBINED ICSE 246 Page 2, , Rent to be paid, xxxx
Page 3 :
The standard form of quadratic equation is given by:, ax2 + bx + c = 0, where d = b2 - 4ac, is known as, discriminant that determines the nature of the roots, of the equation as:, , Condition Nature, if d >= 0 Roots are real, if d < 0, Roots are imaginary, Write a program to determine the nature and the, roots of a quadratic equation, taking a, b, c as input., If d = b2 - 4ac is greater than or equal to zero, then, display 'Roots are real', otherwise display 'Roots are, imaginary'., The roots are determined by the formula as:, , COMBINED ICSE 246 Page 3
Page 4 :
The roots are determined by the formula as:, , A special two-digit number is such that when the, sum of its digits is added to the product of its, digits, the result is equal to the original two-digit, number., Example: Consider the number 59., Sum of digits = 5 + 9 = 14, Product of digits = 5 * 9 = 45, Total of the sum of digits and product of digits =, 14 + 45 = 59, Write a program to accept a two-digit number. Add, the sum of its digits to the product of its digits. If, the value is equal to the number input, display the, message "Special 2 - digit number" otherwise,, display the message "Not a special two-digit, number"., , A courier company charges differently for 'Ordinary', booking and 'Express' booking based on the weight of, the parcel as per the tariff given below:, Weight of parcel Ordinary, booking, Up to 100 gm, 80, 101 to 500 gm, 150, 501 gm to 1000 210, gm, More than 1000 250, gm, , Express, booking, 100, 200, 250, 300, , Write a program to input weight of a parcel and type of, booking (`O' for ordinary and 'E' for express)., Calculate and print the charges accordingly., , COMBINED ICSE 246 Page 4
Page 5 :
A bank announces new rates for Term Deposit Schemes for, their customers and Senior Citizens as given below:, Term, Up to 1 year, Up to 2 years, Up to 3 years, More than 3, years, , Rate of Interest, (General), 7.5%, 8.5%, 9.5%, 10.0%, , Rate of Interest (Senior, Citizen), 8.0%, 9.0%, 10.0%, 11.0%, , The 'senior citizen' rates are applicable to the customers, whose age is 60 years or more. Write a program to accept the, sum (p) in term deposit scheme, age of the customer and the, term. The program displays the information in the following, format:, Amount Deposited Term Age Interest earned Amount Paid, xxx, xxx xxx xxx, xxx, , COMBINED ICSE 246 Page 5