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

Design a class template with overloaded operator / to perform a = b / c.


The list of random numbers stored in an integer and float array. Perform search operation to find the search number is present or not from an array using templates concept.

* Print - Element Found or Element Not Found

input:

5

15

28

36

44

50

36

Output :

36

Element Found


1.

Get the top 10 channels for which more number of users are subscribed in the year 2018.

Note:

In case, if the no_of_subscribers are same, then sort the output in the ascending order of channel_name.

Expected Output Format:

channel_id channel_name no_of_subscribers


Design a class template with overloaded operator + to perform a = b + c.

Develop a C++ program to calculate the area of a cube and compare the size of cube is larger using this pointer.


Write a program in c which counts for the number of digits in an integer number being entered by user using: do While loop


Design a C++ program having a base class Student with data member rollno and member functions getnum() to input rollno and putnum() to display rollno. The class Test is derived from class Student with data member marks (Three subject marks) and member functions getmarks() to input marks and putmarks() to display marks. The class Sports is also derived from class Student with data member score (range between 100) and member functions getscore() to input score and putscore() to display score. The class Result is inherited from two base classes, class Test and class Sports with data member total and a member function display() to display rollno, marks, score and the total (marks + score).


The postage for ordinary post is Rs. 2.00 for the first 15 grams and Rs. 1.00 for each additional 10 grams. Write a C++ program to calculate the charge of postage for a post weighting N grams. Read the weights of N packets and display the total amount of postage using multiple inheritance.


* Base class-1: Member variables are name, source and destination.


* Base class-2: Member variables are no. of packets and weight.


* Derived class: Member functions display(), displays the name, source, destination, total weight and total amount.


Design a pay roll system to find the employee total salary using single inheritance. The base class employee consisting of data members such as emp_number and emp_name. The derived class salary consisting of data members such as Basic_pay, HRA, DA, PF, Net_pay.


It is the final of the world’s most prestigious cricket tournament, the Indian Premier League. In the final, the Chennai Super Kings (CSK) are playing against the Mumbai Indians (MI). There is one over left for the match to end and CSK require R runs to win with W wickets remaining.


An over consists of 6 balls. Each ball can result in any one of the following possibilities:-


  • 6 Runs
  • 4 Runs
  • 7 Runs (3 Runs + Overthrows)
  • 2 Runs
  • 1 Run
  • Wicket

If a ball results in a wicket, CSK’s remaining wickets will decrease by one. If a ball results in runs (either 6, 4, 7, 2 or 1), these runs are added to the runs that CSK have already scored.


The match ends when one of the following happens:-


* If CSK scores R runs, the match ends and CSK wins.


* If the match ends with CSK scoring exactly one run less than the required runs, then the match is a tie.




LATEST TUTORIALS
APPROVED BY CLIENTS