Hi,
Does anyone know how to get the largest and smallest number from an array?
float salary[100];
then I have a for loop here that loads the array....now how do you get the largest and smallest number in the array? Thank you for your time =)
Serena
I'm a beginner at C++, but I am writing a program that has an Char array of names like this char[3][16] = {"Stevens,Cory", "Smith,Will", "Cool,Joe"} I wanted my program to search for a name like this:
char name[16];
cout << "Search for a name" << endl...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.