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

short and simple Login system using inheritance (any type of Inheritance) in c++ according to OOP concepts.

Thanks.


A number is called a happy number, if you start with the given number and arrive at 1 by repeating the following process (as illustrated in the below example): (a) compute the sum of the squares of given number digits (b) if the resultant value is 1, then the number is happy number, else execute point (a) for the newly produced number. Note that if a number is not a happy number, there will be an endless loop to this execution. Goal: In this question, you are required to write a recursive function that checks whether the number entered by the user is a happy number or not for 10 cycles/iterations only. The output shown in blue colour should be shown by the function and text in yellow colour should be displayed by the main function.



Create the Animal class, which is the abstract superclass of all animals







-Declare a protected integer attribute called legs, which records the number of legs for this animal.








-Define a protected constructor that initializes the legs attribute.








-Declare an abstract method eat.








-Declare a concrete method walk that prints out something about how the animals walks (including the number of legs).








2.Create the Spiderclass.








-The Spider class extends the Animal class.








-Define a default constructor that calls the superclass constructor to specify that all spiders have eight legs.








-Implementthe eatmethod.








-Create the Petinterface specified by the UML diagram.








-Create the Cat class that extends Animaland implements Pet.








-This class must include a Stringattribute to store the name of the pet.












1.     An organization has two types of employees: regular and adhoc. Regular employees get a salary which is basic + DA + HRA where DA is 10% of basic and HRA is 30% of basic. Adhoc employees are daily wagers who get a salary which is equal to Number * Wage.

 

(i)       Define the classes shown in the following class hierarchy diagram:

 


(ii)     Define the constructors. When a regular employee is created, basic must be a parameter.

(iii)   When adhoc employee is created wage must be a parameter.

(iv)    Define the destructors.

(v)      Define the member functions for each class. The member function days ( ) updates number of the Adhoc employee.

(vi)    Write a test program to test the classes.



    An electricity board charges the following rates to domestic users to discourage large consumption of energy.

·                    For the first 100 units − 50 P per unit

·        Beyond 100 units − 60 P per unit

If the total cost is more than Rs.250.00 then an additional surcharge of 15% is added on the difference. Define a class Electricity in which the function Bill computes the cost. Define a derived class More_Electricity and override Bill to add the surcharge.



Create a Python function that takes a list and returns a new list with unique elements of the first list.


Sample List : [1,2,3,3,3,3,4,5]

Unique List : [1, 2, 3, 4, 5]


I need the code to have an output stated above.


Create a Python function that takes a number as a parameter and check the number is

PRIME or NOT.


I need the code to have an output stated above.


Create a Weather forecast application that retrieves data, process the data and visulaises the data on the forms of gui. The data is stored in a MySQL database. Temperature, relative humidity and pressure are recorded every ten minutes. The measurements are uploaded to the database and the date and time of successful upload are logged at the database end. The recorded time is therefore the time of storage. It may differ marginally from the actual measurement time.

Note: Don't use any Built-in-library or Standard Library List. Solve without using any Library.

Please write class for hash table using chaining and it must contain the following  functions:
  • Please insert an element in table
  • Please search an element in table
  • Please delete an element in table
  • Please return no of the chains currently present
  • Please display the hash table of the class
  • Please write the main function to test the class created.

Note: Don't use any Built-in-library or Standard Library List. Solve without using any Library.

1. Create a reflection of the given image.

2. Submit the code


images name(mt-rainier.jpg)


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS