Questions: 1 835

Answers by our Experts: 1 539

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

.Write a class called LoanProcess with Loan_ No, Customer Name, LoanAmount, EMI_ Amount, Account_Balance as its members. Create a method calculate_EMI() for the LoanAmount, with the rate of interest as 13% for a total of 3 years and store it in the EMI_ Amount. The rest of the information to be passed through constructors. Write another function CheckBalance() which checks if the Account Balance is less than the EMI_AMount. If yes then throw a custom exception. Display "Not Sufficient Balance to repay Loan" in the finally. Give explanatory comments.


Techworld is a technology training center, providing training to their clients on various technologies.They need to automate the process of allocating instructiors for different courses.An instructor is identified by his/her name and may be skilled in multiple technologies .Assume that the skills of an instructor are stored in an array.



Write a program to calculate the bonus of the employee given the basic salary of the employee.








The bonus will be calculated based on the below category.








if Basic Salary-15000 and less than 20001 calculate bonus as 17% of basic+1500 if Basic Salary>10000 and less than 15001 calculate bonus as 15% of basic+1200 If Basic Salary<10001 calculate bonus as 12% of basic+1000 for rest calculate bonus as 8% of basic+500








Business rule:









1) If the salary given is a negative number, then print -1








2) if the salary given is more than 1000000, then print -2.








3) All the test cases has the calculated bonus as integer value only.









Create a class named UserProgramCode that has the following static method public static int calculateBonus(int input1) Create a class named Program that accepts the inputs and calls the static method present in the UserProgramCode.

1. Write a c# program contains “Car” as abstract class and an instance variable reg no, one concrete method openTank (), two abstract methods steering (int direction, int angle), braking (int force) and its implementation sub classes Tata, Mahindra which overlies above methods. Implement the above scenario and use all access specifiers

write a program that enters an 8-digit string for a birthdate. The first two digits in the string are the month of birth, the next two are the day and the remaining four are the year in

The software shall calculate the monthly home loan repayment for buying a property



based on the values that the user entered. (See



https://www.sivavula.com/read/maths/grade-10/finance-and-growth/09-finance-and



growth-03 for more information on how to calculate this).



6.



If the monthly home loan repayment is more than a third of the user's gross monthly income, the software shall alert the user that approval of the home loan is unlikely.



7.



The software shall calculate the available monthly money after all the specified deductions



I have been made.



8.



The software shall not persist the user data between runs. The data shall only be stored in



memory while the software is running.

2. The user shall be able to choose between renting accommodation or buying a property. 3.



If the user selects to rent, the user shall be able to enter the monthly rental amount. 4. If the user selects to buy a property, the user shall be required to enter the following



values for a home loan:



a. Purchase price of the property



b. Total deposit



c. Interest rate (percentage)



d. Number of months to repay (between 240 and 360)

Create two classes named Mammals and MarineAnimals. Create another class named BlueWhale 

which inherits both the above classes. Now, create a function in each of these classes which prints 

"I am mammal", "I am a marine animal" and "I belong to both the categories: Mammals as well as 

Marine Animals" respectively. Now, create an object for each of the above class and try calling

 function of Mammals by the object of Mammal

 function of BlueWhale by the object of BlueWhale

 function of each of its parent by the object of BlueWhale

 function of MarineAnimal by the object of MarineAnimal


Create a class named Shape with a function that prints "This is a shape". Create another class named Polygon inheriting the Shape class with the same function that prints "Polygon is a shape". Create two other classes named Rectangle and Triangle having the same function which prints "Rectangle is a polygon" and "Triangle is a polygon" respectively. Again, make another class named Square having the same function which prints "Square is a rectangle".

Now, try calling the function by the object of each of these classes.


We want to calculate the total marks of each student of a class in Physics, Chemistry and Mathematics and the average marks of the class. The number of students in the class are entered by the user. Create a class named Marks with data members for roll number, name and marks. Create three other classes inheriting the Marks class, namely Physics, Chemistry and Mathematics, which are used to define marks in individual subject of each student. Roll number of each student will be generated automatically.


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS