Trying to sort number from highest to lowest, but using the code below, with the help from the link. There are some mistake in here I know, but need alittle help.
#include <iostream>
using...
Type: Posts; User: joeh158
Trying to sort number from highest to lowest, but using the code below, with the help from the link. There are some mistake in here I know, but need alittle help.
#include <iostream>
using...
Very helpfull.
thanks
How would you be able to write a function that would sort the numbers out from highest to lowest?
Here is what i was working on, can you tell me where I've been going wrong?
#include <iostream>
using namespace std;
double max()
{
Hello,
I've been taking a class on C++, and the summer semester is now over but I'm very interested in taking more classes during the fall. I've ran into a few problems here and there. I have a few...
I'm as lost as ever on those problems. Not sure were to begin or end. The help so far has been great but I'm not sure how to even introduce it in to the program
Not sure how to how or what the program is to output.
array[0] = 32;
array[6] = 87;
array[1] = 87 + 1;
array[5] = 32 - 10;
array[2] = 0;
array[4] = 0;
array[3] = 32 + 88 + 22 + 87;
This is all I have based on one example for the 2nd program can someone tell me what I'm doing worng
#include <iostream>
using namespace std;
int sum( int numbers[], int length );
Can anyone help with a program that would allow you to enter 5 floating point values into an array called Marks and then calculate and displays the average of the marks entered?
Also need help...
Thank you everyone! That was extremly helpful!
That was very helpful!!! Thanks! Now I just have to deal with the factorial problem. Having a number of error pop up with this one. I'm using Dev C++ for the compiler
#include <iostream>...
Used your advise, this is the current code. Still running into that the same error
#include <iostream>
#include <string>
using namespace std;
int main()
This is just a very quick example of what I think is needed.
int main()
{
char card;
I'm new to C++, and I'm currently taking a course and I'm having a tough time with some of the problems. There is a deck of cards problem. problem is asking for a program where the user enters input...