Can someone help me to make my program sort according to the average gallons used per car I keep geting 30 - 40 error when i try to compile it. Also
my files do exist.
#include <fstream>...
Type: Posts; User: hopeolicious
Can someone help me to make my program sort according to the average gallons used per car I keep geting 30 - 40 error when i try to compile it. Also
my files do exist.
#include <fstream>...
thanx for the help but i dont know anything about passing fstreams I bearly know how to pass perameters I'm use to using global and local variables
Can someone help me to figure his out. I have to read in a file that contains employee names, numbers, payrates, and hours. Then I have to calculate the gross andsend everything to an output file. I...
does anyone know the function that will take an array of text and cut it up into words and also cout different words;
ex. I prompt the user to input some text and the i send that text to a...
can show me how can i get my program to sort an array of elements that are user input and output them
#include <iostream>
using namespace std;
const int LIMIT = 50;
Can someone help me to make my program output each element in the array that is user prompted
so far it.... prompts the user for input no more tan 50 elements and a value less the 999
it doesnt...
everything runs perfect but in my purchase() I can cin what i need but I keep getting an error and the same goes for my sell() everything else runs fine until i quit the program by command
...
[#include <iostream.h>
void initialize(int& coke, int& pepsi, int& dry, int& hires);
void sales_type(char& sale_type, int& brand, int& quantity, int& coke, int& pepsi, int& dry, int& hires);...
I know everything that i want to do but i never did a menu before so i dont know how to go about doing so if at all possible can someone post a sample program that uses a menu-selection with...
Can Someone help me in finding the average when I compile my average stays at 0.00
// Project: This project is designed to compute class's average
// and standard deviation from a file which...
This is the code that is suppose to compute the class's average and standard diviation from a file which contains a collection of student ids and corresponding scores from my computer class and...
I have to write a program to compute the class's average and standard deviation from a file which contains a collection of student idds and corresponding scores for my computer class. I am to assign...