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?

Answer Posted / sabyasachi sengupta

its a tricky question... Time is not declared...

Is This Answer Correct ?    2 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading and its types?

615


2. Give the different notations for the class.\

1588


What do you mean by abstraction?

613


What is difference between abstraction and encapsulation?

592


What is the purpose of polymorphism?

679






What is the purpose of enum?

581


#include #include #include #include void insert(struct btreenode **, int); void inorder(struct btreenode *); struct btreenode { struct btreenode *leftchild; struct btreenode *rightchild; int data; }; main() { struct btreenode *bt; bt=(struct btreenode *)NULL; int req,i=1,num; clrscr(); printf("Enter number of nodes"); scanf("%d",&req); while(i<=req) { printf("Enter element"); scanf("%d",&num); insert(&bt,num); i++; } inorder(bt); } void insert(struct btreenode **sr, int num) { if(*sr==NULL) { *sr=(struct btreenode *)malloc (sizeof(struct btreenode)); (*sr)->leftchild=(struct btreenode *)NULL; (*sr)->rightchild=(struct btreenode *)NULL; (*sr)->data=num; return; } else { if(num < (*sr)->data) insert(&(*sr)->leftchild,num); else insert(&(*sr)->rightchild,num); } return; } void inorder(struct btreenode *sr) { if(sr!=(struct btreenode *)NULL) { inorder(sr->leftchild); printf("\n %d",sr->data); inorder(sr->rightchild); } else return; } please Modify the given program and add two methods for post order and pre order traversals.

3248


What makes a language oop?

597


What is an example of genetic polymorphism?

649


What is encapsulation in oop?

604


Why is abstraction used?

604


write a program that takes input in digits and display the result in words from 1 to 1000

1987


Can a destructor be called directly?

599


what type of questions

1697


explain sub-type and sub class? atleast u have differ it into 4 points?

1832