write a program in c++ that will input random floating values in an array using an user defined functions. Using another user defined functions search user input floating point number in the input array, the program output the position of the number in the array otherwise display a message that the number is not in the list.
1
Expert's answer
2012-12-20T07:34:29-0500
#include <iostream> #include <conio.h> #include <time.h> using namespace std;
//main function int main() { srand (time (NULL)); int arraofnumbers[100];
Comments
Leave a comment