No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
I think the way you are declaring your parameters is incorrect You have arrAscendingOrder(double *[], int). I think you jsut need (double * , int) for a parameter list because your scores array is a pointer to the memory location to the first elements. Correct me if I'm wrong, I …
It is very possible to create an array that way. You know the array will be of size 10. so you can start off by declaring the the array as that size. Then run the loop with the counter 'i' you have chosen above and you can set each individual …
I'm not sure if this would work, but you could find out the length of the String and use a loop with the charAt method in the String class. Then you could try to Typecast each char to type Integer. If no exceptions are thrown you know it is an …
I dont think you can define both constructors within the same class. You should write out the definition for the BankAccount constructor within the BankAccount class, and the same for the ATM class. You can create new instances of each method and it will run the constructor when you instantiate …
is your source code file named HighLow.java? Your files always have to be named the exact same thing as the class. Also, by look at the code, im predicting a few more errors after you get passed that initial point. Do you have anymore class files along with that to …
People on the site here aren't going to help or do the project for you usually until you give it an attempt and show us what you have got going so far.
To do this problem you are going to want to use a nested for loop. The first loop you have is good. Inside of that loop you will want to include one that counts from 0 to the value of the array at that particular index value. Within the second …
Sorry if my response doesn't help much, the equation above was somewhat hard for me to understand. But to handle the summation part of the equation, the best option will be to use a 'for' loop to handle all values between 'i' through 'n'.
I'm not exactly sure why that is happening with the float variable, and i am very new to C myself, but i ran the code and changed the num variable to type double and changed the scanf function to %lf and it returned correct values. hopefully this helps.
I'm just a freshman in college highly interested and currently pursuing a major in computer science. I'm just getting into the basics of programming and came to daniweb to possibly further my knowledge of programming and posts future questions. I'm still undecided on a minor to do and anyones opinion …
The End.
Fuze