Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
18% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
5
Posts with Downvotes
4
Downvoting Members
5
1 Commented Post
0 Endorsements
~8K People Reached
Favorite Tags
Member Avatar for plang007

I do not know why when I compile it, on why does the last cylinder file print out multiple times int tags1 and tags2. I bolded them so you would see what I am talking about. Could someone please help me out? [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> …

Member Avatar for toneewa
0
239
Member Avatar for plang007

Has anyone found any compilers to work with windows 8 besides Microsoft studio? I have tried downloading Dev C++ and code::blocks but keep getting build errors? I have used both of those compilers on window 7 for multiple programming purposes

Member Avatar for plang007
0
316
Member Avatar for plang007

Has anyone found any compilers to work with windows 8 besides Microsoft studio? I have tried downloading Dev C++ and code::blocks but keep getting build errors? I have used both of those compilers on window 7 for multiple programming purposes.

Member Avatar for caperjack
0
148
Member Avatar for plang007

First of all, this is not schoolwork but rather me trying to read about c++ and through program examples and see if I can write my own. So help is much appreciated if you could as I am a new learner. This program that I am writing is supposed to …

Member Avatar for plang007
0
518
Member Avatar for plang007

[B]****Output[/B] There were 305 birds in this list. Species: Snow_Goose Number: 305 There were 567 birds in this list. Species: Canada_Goose Number: 567 There were 4 birds in this list. Species: Tundra_Swan Number: 4 There were 31 birds in this list. Species: Wood_Duck Number: 31 There were 60 birds in …

Member Avatar for plang007
0
227
Member Avatar for plang007

In the function largest, it works correctly for numbers greater than 2 such as 3, but does not give me the correct results for numbers 1 and 2 when entered. How would I fix this. [CODE]#include <iostream> #include <cmath> #include <iomanip> #include <fstream> #include <string> using namespace std; int nexta(int …

Member Avatar for Arbus
0
226
Member Avatar for plang007

How do I change it so that it will only say how many times the program has ran once I typed another key then [B]y[/B]. Output: ================================= Programmer Name: Peter Langlands Program 3 Description: CS 150 Spring 2011 Lab CRN: Date: ================================= Enter an nonnegative number: 10 a0 = 10 …

Member Avatar for plang007
0
310
Member Avatar for plang007

How would I make this program that it tells me the number of odds or evens. I only have 1 number at the time, so I need it to either say 1 odd or 1 even. [CODE]#include <iostream> #include <fstream> using namespace std; void printInfo(); int nonNegative(int a, int k); …

Member Avatar for plang007
0
1K
Member Avatar for plang007

I have seemed to get the first function tagReader to work, but can't get the others to work. The other functions are bolded. [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; // function prototypes void tagReader ( ifstream& inFile, int&count); void getEmployee ( string& who, double& rate, …

Member Avatar for plang007
-1
174
Member Avatar for plang007

I got the first function tagReader to work, but how do I get the program to read the other functions such as getEmployee, paycheck, repeater, valid, and header. Here is all I get for the output: Results from tags1.txt : Cylinder: bsharkdata 1782 12.00 82.90 Cylinder: ftmyersfeb 7150 11.00 32.89 …

Member Avatar for WaltP
0
172
Member Avatar for plang007

I do not know how to write a function for this. I have written just the base line of the code, but I do not know how to finish it. Here is the description. A void Function tagReader inputs the data collected by the cylinders; it has two parameters: the …

Member Avatar for plang007
0
238
Member Avatar for plang007

I need help with this program. I do not know how I would calculate to find out the gallons as well as the cost as pictured in my output. How would you do this? Here is my output: For each student, you will get the gallon of paint Input the …

Member Avatar for Ezzaral
0
230
Member Avatar for plang007

After your program works correctly for one student, add a loop so the user can process any number of students. Prompt the user for the number of students to process; use that value to control the loop. *How do I prompt the user for the number of students to process …

Member Avatar for NathanOliver
1
800
Member Avatar for plang007

I can not seem to figure out how to drop the lowest score. When I run it it says the lowest score dropped was 0. How do I fix this? [CODE]#include<iostream> #include <string> #include <cmath> using namespace std ; string getName (); int averageScores( int); void printMessage (string, int); void …

Member Avatar for plang007
0
615
Member Avatar for plang007

I really need help in writing this program for homework. 1. Round the average for each student to the nearest integer. 2. Add code to print out an appropriate message for each student. (given in prologue comments) 3. Add code to calculate the highest student average, and the lowest student …

Member Avatar for ravenous
0
257
Member Avatar for plang007

Could you please tell me how to arrange my code so that the invalid statement like in my displayed output will only show up if some enters a wrong character. Here is my code: #include <iostream> #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { //(1) Declare …

Member Avatar for mcriscolo
-1
600
Member Avatar for plang007

#include <iostream> #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { char fare; char choice='Y'; int hrIn, minIn, hrOut, minOut; int hours; int minutes; int total_minutes; double cost; float charge; float additionalTime; while(choice=='Y'||choice=='y'){ cout << "\nThis program will calculate a single, couple, or group " << "\nfare …

Member Avatar for Sky Diploma
0
326
Member Avatar for plang007

Here is my code: #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { char fare; char choice='Y'; int hrIn, minIn, hrOut, minOut; int hours; int minutes; int total_minutes; double cost; float charge; float additionalTime; while(choice=='Y'||choice=='y') { cout << "\nThis program will calculate a single, couple, or group …

Member Avatar for Software guy
0
177
Member Avatar for plang007

[CODE]#include <iostream> #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { char fare; char choice='Y'; int hrIn, minIn, hrOut, minOut; int hours; int minutes; int total_minutes; double cost; float charge; while(choice=='Y'||choice=='y') { cout << "\nThis program will calculate a group " << "\nfare amount which is then …

Member Avatar for rxlim
0
148
Member Avatar for plang007

I need a lot of help with this program: I know this is a homework problem but I am really struggling with it. This program requires you to input information about rickshaw taxi fares. The ODUSPORTS is a student powered on-campus rickshaw transportation system. Upon departure, a ticket is created …

Member Avatar for ravenous
0
714
Member Avatar for plang007

Here is my code: [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <cmath> #include <time.h> #include <assert.h> using namespace std; int main() { // = (num3&&num4) - (num1&&num2); // save this calc for later: hrIn + (hrOut/60.0); // same thing = num3 + (num4/60); // write an alogorithm to establish the …

Member Avatar for rxlim
0
161