c++ Question! about a program Hi guys, I have this program due and i\'m so lost
ID: 3573315 • Letter: C
Question
c++ Question! about a program
Hi guys, I have this program due and i'm so lost on what to do!I was absent from class for a week and i happened to miss this subject! If you don't want to do this, then you could also refer me to a youtube video?>
"
The DMV would like you to write a program that grades the written portion of the driver's license exam. The exam has 10 multiple choice questions. The file answers.dat holds the correct answers and the scores of 5 people who have taken the exam.
Write a program to grade each person's exam. Use functions for the major tasks. The program should display a message indicating whether the person passed or failed the exam. A passing grade is 7 or more correct."
The file name is answers.dat The file contains these
A D C C B A B A C A
A D B C B A B A C A
B D B C B A B A B B
A D C C A A A A C A
A B D D D A B A C A
A D B C B A B A C A
what I have so far,
#include <iostream>
#include <fstream>
using namespace std;
int main() {
ifstream scores("answers.dat");
}
Explanation / Answer
using namespace std;
int main() {
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.