an output file. Program will calculate the following: total scores(test1 & test2 20% each, lab 25%, and final35%) and assign letter grade( 90% A, 80% B, 70% C, 60% D, <60% F).
Not sure if i'm doing this correctly
#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
using namespace std;
void main ()
(
ifstream ins("students.txt");
ofstream out("output.out");
//Variable Declarations
string f_name, l_name, name;
double test1, test2, lab, final, total;
char grade;
ins>>f_name>>l_name>>test1>>test2>>lab>>...
Tags: