Purchase Solution

C++ Programming (Arrays and Strings)

Not what you're looking for?

Ask Custom Question

See attach file.

Purchase this Solution

Solution Preview

Blank or no answers are marked as 'N' instead of empty character. The input file Answers.txt is given, please try the program.

#include<iostream>
#include<fstream>
#include<string>
#include<iomanip>
using namespace std;

int CalculatePoints( char Correctans, char ans);
int CalculatePercentage( double sumpoints);
int CalculateGrade( double score);

void main()
{
string stuID;
char Canswer[20];
char Correctanswer[20];
char answer[20];
double pts;
char ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

C# variables and classes

This quiz contains questions about C# classes and variables.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.