Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

using friend function find the maximum number from given two
numbers from two different classes.write all necessary
functions and constructor for the classes.

Answer Posted / aravindhan

biggest of two numbers using friend function in c++

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program using 2 D that searches a number and display the number of items 12 inputs values input 15,20, 13, 30, 38, 40,16, 18, 20 ,18 ,20 enter no. to search : 20

3766


write a program to convert temperature from fa height into celcius and vise versa,use modular programming

2981


write a program that reverses the input number of n.Formulate an equation to come up with the answer.

7634


develop a program to calculate and print body mass index for 200 employees

2613


output for printf("printf");

2484


Given a table of the form: Product Sold on A 1/1/1980 B 1/1/1980 C 1/1/1980 A 1/1/1980 B 1/1/1980 C 2/1/1980 A 2/1/1980 There are 30 products and 10,000 records of such type. Also the month period during which sales happened is given to u. Write the program to display the result as: Product Month No. of copies A January 12 A February 15 A March 27 B January 54 B February 15 B March 10 C January 37

2476


i don't know about working of nested for loop can any one help me

2217


Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.

5052


A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect

2828


i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.

2644


Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array index. Adding an item would require changing the value of top if it has higher priority than top. Extracting an item would require deleting the first element from the corresponding queue. The following class was given: class PriorityQueue { int *Data[100]; int top; public: void put(int item, int priority); // inserts the item with the given priority. int get(int priority); // extract the element with the given priority. int count(); // returns the total elements in the priority queue. int isEmpty(); // check whether the priority queue is empty or not. }; We had to implement all these class functions.

4894


Code for Two Classes for Doing Gzip in Memory?

3219


Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control?

3015


how to take time as input in the format (12:02:13) from user so that controls remains between these columns?

2223


write a program that reads a series of strings and prints only those strings begging with letter "b"

3068