Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
You are required to write a program which will calculate the salary of an employee according to his/her grade assigned by the employer. You must declare a class named CalSalary whose private data members will be employee ID, employee name and employee grade. Also write a constructor, setter and getter functions for all private data members and a function that will calculate the salary.
Detailed Description:
• Employee ID and grade should be of type integer. Employee name should be of type string.• Constructor should initialize employee ID and grade with value zero and employee name with value NULL.• For assigning or extracting values from private data members, you must use getter and setter functions.• Declare a public member function named calculate which will calculate the net salary of the employee according to his/her grade.• Formula for calculating actual salary is (Basic Salary) + 45% of basic salary.• If the grade of employee is 17, then the basic salary is 15,000.• If the grade is 18, then the basic salary is 20,000 and if grade is 19 then the basic salary is 25,000.
Write a program to calculate the electricity bill. The rates of electricity per unit are as follows: If the units consumed are equal or less than 100, then the cost is Rs 8/- per unit.
Identify a web site used for ordering a product or service and then identify the various entities. As an example when you go to Amazon.com and review products.
Makes a payment equal to 5 percent of current balance suppose the customer makes no new purchases. Must be written in Liberty Basic.
Write a program to simulate a bank transaction. There are two bank accounts: checking and savings. First, ask for the initial balances of the bank accounts.
efine a class called address_t with members for the four integers. Your program should read a list up to 100 addresses and nicknames terminated by a sentinel address of all zeros and nickname.
Write a paper on Memory Management
Write a function that takes an array of positive integers and the size of the array, and returns the average (type float) of the values.
Write pseudocode for finding grade of a student given his/her total score. The program must display a grade of A if the score is above 85, a B if it is between 85 and 75, a C.
Input a number entered by the user and display "positive" if it is greater than zero, "negative" if it is less than zero, and "zero" if it is equal to zero.
Write a procedure called list-records which returns a list of all records by artist from a list of records containing several artists.
Design and write 3 classes - Account, CheckingAccount, and SavingsAccount. Have CheckingAccount and SavingsAccount inherit from Account.
Estimate the storage space (number of bytes) required for each of the following items: A telephone book with 10,000 entries consisting of names, addresses and phone numbers. Use your phone book to estimate the average length of an entry.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd