No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hey i need helpin in pipping a file and using those values in the file to work with the program. ive done the program but it doesnt read the file. can someone help me here. [code] #include<iostream> #include<string.h> using namespace std; //the cost of the toll gates const double A_GATE … |
|
hello i need help, i have to input 10 integers and find the maxinum of the numbers. [code] #include <iostream> using namespace std; int main() { const int MAX_NUM_INTEGERS = 10; int integers[0]; int largest = integers[0]; cout << "Enter 10 intergers: "; cin >> integers[i] for (int i=0; i … |
|
need help in findin the minimum of these 5 inputs its keeps showin 2 instead of 1... [code] #include <iostream> using namespace std; int findMin(int [], int); int main() { const int MAXELS= 5; int nums[MAXELS] = {2, 18, 1, 27, 16}; cout << "The minimum value is " << … |
|
Re:
hello, Thanks to previous help which has gotten me this far. However, my lovely program, although looks great in theory doesnt do what its supposed to do. When I type in 3 words, it doesnt put them in order as it should. Can someone point out to me where I … |
|
hey im having trouble workin out the average it keeps showing 0 instead #include<iostream> using namespace std; int main() { int count; double grade, total, average; grade = 0; total = 0; count = 0; cout <<"\nTo stop entering grades. Type in the number"; cout <<"\n 999.\n\n"; total = total … |