No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
this is the code i have: [CODE]#include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; ifstream infile("grade_data.txt"); string answers, key; int num_grades; void highest(double [], int); void lowest(double [], int); const int NUM_QUESTIONS = 10; double scores[NUM_QUESTIONS + 1]; int results; //how many right answers int wrong=0; //how … |
|
this is the exact instructions: "The program will grade a series of exams and then print a grade report for students in a course. Input: An instructor has a class of students each of whom takes a multiple-choice exam with 10 questions. For each student in the class, there is … |
|
My program reads water temperatures from a river as well as when the temps were recorded from an input file called "biodata.dat." Then the data is outputted in a file called "results.dat" (i havent added this results.dat part in my code but do know how to do it) The input … |
|
hey guys, this is what i have so far... this part is from the main.cpp [CODE]double x; cout<<"Enter a number to search for: \n"; cin>>x; list.search(x); if (list.search(x)) cout << "\n" << x << " IS on the list! AT POSITION :" <<endl; else cout << "\n" << x << … |
|
hey guys. any help would be greatly appreciated. im getting a few errors and im not sure why. HEADER FILE: [ICODE]// HEADER FILE floatlist // // INCLUSE STANDARD I/O HEADER #include <iostream> using namespace std; template <class T> class floatlist { // DECLARE PRIVATE DATA private: // // DECLARE A … |
|
hey, i am new here but i have taken a few c++ classes. im having trouble with a very easy program and i just cant figure out why its doing this. ive looked around the forum already and didnt find anything helpful so i thought id ask. [CODE] include <iostream> … |