monkey starts climbing up a tree 20ft tall,each hour ,it
hops 3ft and slips back by 2ft .how much time it wil tak to
reach top of the tree?
Answers were Sorted based on User's Feedback
Answer / ayushi rastogi
Its very easy to say that 20 hr because per hour it hops
only 1ft (3ft-2ft)for 20ft it will take 20 hr.
| Is This Answer Correct ? | 5 Yes | 21 No |
Answer / sabyasachi sengupta
its a tricky question... Time is not declared...
| Is This Answer Correct ? | 2 Yes | 20 No |
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }
what is a binary overloading
what is object oriented programming and procedure oriented programming?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
what are abstract classes and how they impliment , with example
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
What is difference between #define and const?
What is the difference between pass by reference and pass by value?
Name a typical usage of polymorphism
What are oops methods?
What is difference between data abstraction and encapsulation?
What is protected in oop?