plzz help me how to find the largest and 2nd largest number among n values through while loop

Recommended Answers

All 3 Replies

plzzz show some code!

You can use the array. It is easy to solve your problem

First, You have to make the array. Then use make the function to find the Largest and 2nd.

There are more than one way to solve your problem its all upon you, for help you have to show your code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.