Trending ▼   ResFinder  

ICSE Class X Notes 2022 : Computer Science (Maneckji Cooper Education Trust School, Mumbai) : Very imp

4 pages, 12 questions, 0 questions with responses, 0 total responses,    0    0
Himadri Das
  
+Fave Message
 Home > lord17289 >   F Also featured on: School Page

Formatting page ...

Computer Assignment List Assignment no. Assignment Questions 1. Write a program to check if a given number is Palindrome. 2. Define a class employee having the following description: Instance Variable: Int pan - to store pan no. String name - to store name Double tax_income - to store taxable income Double tax - to store calculated tax Member functions: input() - store pan no, name, taxable calc() - calculate tax for employee display() - output details of employee Write a program to compute tax according to given conditions Upto 1,00,000 - No tax From 1,00,001 to 1,50,000 - 10% of income exceeding 1,00,000 From 1,50,001 to 2,50,000 - 5000 + 20% of income exceeding 1,50,000 Above 2,50,000 - 25000 + 30% of income exceeding 2,50,000 3 Define a class called Mobike with the following description: Instance Variables/Data Members: bno : to store the bike s number phno : to store the phone number of the customer name : to store the name of the customer days : to store the number of days the bike is taken on rent charge : to calculate and store the rental charge Member Methods: void input() : to input and store the detail of the customer void compute(): to compute the rental charge. The rent for a Mobike is charged on the following basis. First five days : 500 per day

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

lord17289 chat