opening fileread this: http://www.cplusplus.com/doc/tutorial/files/
generate random numbersfor rnd numbers in the range of a to b, do: rand()%(b-a)+a; yours looks correct, but i would just u...
To mark both smallest and largest element[code]#include <iostream> int main() { const int CAPACITY = 1000; double values[CAPACITY]; int ...
final exam - please help whats the output/answer of this prob.just use a debugger and run through the loops
To mark both smallest and largest elementtried to keep the idea of your code. however i'd write it different :) [code] #include <iostream> ...