I need a Program in C++ ?

Write a Program to find largest of four integer numbers in C++, Program should have three class and each class should have 1 Integer?

Thanks in Advance.
There are two approaches:

1.
http://www.cplusplus.com/reference/algorithm/max_element/


2.
Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
I am just having problem to do it by class, so I asked, It's not my homework I am preparing for my exam so. Thank you for your reply.
Last edited on
You will need to post what code you have and the problem you are having. Please be brief and concise on what you want answered.
Topic archived. No new replies allowed.