just right the logic of it
1--> If few people are electing then every time ur candidate
should win
2--> arrange books in box, if box carry weight == books
weight then take another box..... find the no of box
required.
No Answer is Posted For this Question
Be the First to Post Answer
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
what is virtual function?
26 Answers Aspire, HP, Infosys, RoboSoft, TCS,
When is it necessary to use member-wise initialization list in C++?
difference between overloading and overridding
tel me oops defination in single line
Petrol pump mgt. system: To design a program that display an interface for the sale of the Petrol and then make the entries at the backend in the database.
c++ is a pure object oriented programming or not?
What is constructor overloading in oop?
What is namespace?
What is the purpose of enum?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
How can i write a code in c# to take a number from the user and then find all the prime numbers till the number entered by the user.