Forum: C++ Apr 29th, 2007 |
| Replies: 6 Views: 24,194 Okay, when I ran this program, I saw one error:
1. I did not see the first two ones in the Fibonacci sequence.
Also, can you tell me that the a and the i means in this program?? |
Forum: C++ Apr 29th, 2007 |
| Replies: 31 Views: 9,821 OHMIGOODNESS! It worked! It actually worked! Thanks you guys! You all are genuises |
Forum: C++ Apr 28th, 2007 |
| Replies: 31 Views: 9,821 Ok, this is what I did:
calcAverage (average, score1, score2, score3, score4, score5);
But now, my error says this:
Extra parameters in call to calcAverage |
Forum: C++ Apr 28th, 2007 |
| Replies: 31 Views: 9,821 Okay, this is what I did:
#include <iostream>
#include <conio>
using namespace std;
//Function prototype
void getscore(int&, int&, int&, int&, int&);
int findLowest (int, int, int, int,... |
Forum: C++ Apr 27th, 2007 |
| Replies: 31 Views: 9,821 Here's my code again with the corrections that you suggested:
#include <iostream>
#include <conio>
using namespace std;
//Function prototype
void getscore(int&, int&, int&, int&, int&);... |
Forum: C++ Apr 27th, 2007 |
| Replies: 6 Views: 1,398 Ok
Oh, and I really love your signature. |
Forum: C++ Apr 27th, 2007 |
| Replies: 31 Views: 9,821 Well, I revised my code, and this is what I came up with.
#include <iostream>
#include <conio>
using namespace std;
//Function prototype
void getscore(int&, int&, int&, int&, int&);
int... |
Forum: C++ Apr 27th, 2007 |
| Replies: 6 Views: 1,398 Actually, I was thinking more along the lines of hierarchy charts, flowcharts, and pseudocode. |
Forum: C Apr 27th, 2007 |
| Replies: 9 Views: 3,869 So, how do I get the user to specify the value of N?? |
Forum: C++ Apr 23rd, 2007 |
| Replies: 6 Views: 1,398 Hi. I'm currently writing some design tools for my programs, and I am in desperate need of some help.
Does anyone have any good sites that I can go on to find some tutorials on how to use the... |
Forum: C Apr 23rd, 2007 |
| Replies: 16 Views: 5,218 Oh, wow, it worked! Thanks so much AncientDragon!! You're a lifesaver |
Forum: C Apr 23rd, 2007 |
| Replies: 16 Views: 5,218 :) OHMIGOODNESS! It worked! Thanks!!! |
Forum: C Apr 23rd, 2007 |
| Replies: 16 Views: 5,218 I checked and I didn't see any braces missing |
Forum: C Apr 22nd, 2007 |
| Replies: 16 Views: 5,218 Well, I halfway solved the problem:
This is what I did:
#include <iostream>
#include <iomanip> //Needed for the showpoint and setprecison command
#include <fstream> //Needed... |
Forum: C++ Apr 22nd, 2007 |
| Replies: 31 Views: 9,821 Well, I changed the getscore() function, and that is working fine.
However, I am confused on the findLowest function. This is what I came up with:
void findLowest(int LO, int score1, int... |
Forum: C Apr 22nd, 2007 |
| Replies: 16 Views: 5,218 |
Forum: C Apr 22nd, 2007 |
| Replies: 16 Views: 5,218 What do you mean, another function |
Forum: C Apr 20th, 2007 |
| Replies: 16 Views: 5,218 I got it to print! Thanks! |
Forum: C++ Apr 20th, 2007 |
| Replies: 31 Views: 9,821 |
Forum: C Apr 19th, 2007 |
| Replies: 16 Views: 5,218 So, can you show me exactly where it goes in my program please |
Forum: C Apr 19th, 2007 |
| Replies: 16 Views: 5,218 Hi.
Well, I got my subscription program right (thanks for all of the help, everyone!):)
#include <iostream>
#include <iomanip> //Needed for the showpoint and setprecison command... |
Forum: C++ Apr 19th, 2007 |
| Replies: 7 Views: 1,180 I figured it out. It was some simple mistakes. Thanks. |
Forum: C++ Apr 19th, 2007 |
| Replies: 7 Views: 1,180 The solution that I am trying to achieve is this: I am trying to get my calculations to print correctly. When you run my program and test it, you will see what I mean. |
Forum: C++ Apr 18th, 2007 |
| Replies: 7 Views: 1,180 Can you show me in the program where I would put it please? |
Forum: C++ Apr 18th, 2007 |
| Replies: 7 Views: 1,180 Okay, I got Subscription A and C to work correctly (Thanks!). But, for some reason, it's still allowing me to enter hours higher than 744 and my calculations for Subscription B is still not kicking... |
Forum: C++ Apr 18th, 2007 |
| Replies: 7 Views: 1,180 I have a problem:
Here is my program:
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <conio> |
Forum: C++ Apr 16th, 2007 |
| Replies: 31 Views: 9,821 Ok, I'll try that and come back.
Thanks for all of your help.
:-)I'll make sure to give you guys credit when I complete this program!!! |
Forum: C++ Apr 16th, 2007 |
| Replies: 31 Views: 9,821 Actually, we haven't even got to arrays in our textbook yet. So, I really don't know how to do them. |
Forum: C++ Apr 16th, 2007 |
| Replies: 3 Views: 842 Hi. I'm currently working on a program that requires me to use arrays. Does anyone know a good tutoring site that I can go to??
Thanks! |
Forum: C++ Apr 16th, 2007 |
| Replies: 31 Views: 9,821 I am writing the following program that calculates the average of a group of test scores where the lowest score in the group is dropped. It has the following functions:
void getScore()-should... |
Forum: C++ Apr 12th, 2007 |
| Replies: 6 Views: 934 No one is here to do your homework for you. YOU have to be the one to put forth some effort to show that you really want to learn. If people type your codes iin for you, then you'd never learn C++. |
Forum: C++ Apr 10th, 2007 |
| Replies: 11 Views: 1,619 okay, thanks
I keep forgetting |
Forum: C++ Apr 10th, 2007 |
| Replies: 2 Views: 1,780 Hi.
I am trying to write a program that asks for the wholesale cost of an item and its markup percentage, and displays the retail price.
Well, I did that the regular way, but...
My... |
Forum: C++ Apr 10th, 2007 |
| Replies: 11 Views: 1,619 |
Forum: C++ Apr 10th, 2007 |
| Replies: 3 Views: 738 I apologize. I was trying to find out what websites I can go to find out how to create user-defined functions, like void displayMessage() for example.
Thanks for the sites, though |
Forum: C++ Apr 10th, 2007 |
| Replies: 3 Views: 738 Hi.
Can anyone tell me some good websites that I can go to to find out more about functions in C++?
Thanks |
Forum: C++ Apr 10th, 2007 |
| Replies: 11 Views: 1,619 Okay, so then what should I do?? |
Forum: C++ Apr 9th, 2007 |
| Replies: 11 Views: 1,619 That's okay, I got it. I had to use an if/else statement within the other if/else-if statements. :p |
Forum: C++ Apr 9th, 2007 |
| Replies: 11 Views: 1,619 Okay, I got that problem solved, but I ran into another problem:
#include <iostream>
#include <iomanip> //Needed for the showpoint and setprecison command
#include <fstream> ... |
Forum: C++ Apr 9th, 2007 |
| Replies: 11 Views: 1,619 Well, I did that, and this is what happened:
#include <iostream>
#include <iomanip> //Needed for the showpoint and setprecison command
#include <fstream> //Needed to use files... |