1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Vaselesa [24]
3 years ago
7

Which loan type requires you to make loan payments while you’re attending school?

Computers and Technology
1 answer:
tigry1 [53]3 years ago
7 0
Direct Subsidized Loans I believe
You might be interested in
Which two hardware features would a technician monitor within the bios if a computer was suspected of overheating?
Firdavs [7]
I would say probably the CPU Fan and the CPU clock speed 
4 0
3 years ago
What are software applications?
navik [9.2K]

Answer:

files that are stored on the computer

Explanation:

there is an actual definition, but it isnt listed here. Application software is commonly defined as any program or number of programs designed for end-users. That's it, in a nutshell.

4 0
3 years ago
Read 2 more answers
What is the primary objective of accounting?
arsen [322]

Answer:

to keep a record of financial transactions

6 0
3 years ago
Read 2 more answers
Is a technique for breaking a problem down into smaller, less complex parts.
Readme [11.4K]
Decomposition hope this helps :)
8 0
3 years ago
Write a program that reads the student information from a tab separated values (tsv) file. The program then creates a text file
kvasek [131]
#include
#include
#include
#include
#include
#include


using namespace std;

// Class student required to store the data
class Student{
public:
string lname;
string fname;
int marks[3];
char grade;

// Function which generates the grade for student
void calculate_grade(){
double sum = 0;
for(int i=0;i<3;i++){
sum+= marks[i];
}
double average = sum/3;
if(average>=90 && average<100)
this->grade = 'A';
else if(average>=80)
this->grade = 'B';
else if(average>=70)
this->grade = 'C';
else if(average>=60)
this->grade= 'D';
else this->grade = 'F';
}
};

// This function reads the file , and creates a vector of Students data
vector read_file(string fileName){

// Opening the file
fstream fin;
fin.open(fileName);


// Temp variables
vector list;
vector row ;
string line, word, temp;

// Read the data into vector
while(getline(fin,line)){
row.clear();
stringstream s(line);

while(getline(s,word,'\t')){

row.push_back(word);

}
Student st;
st.fname = row[0];
st.lname = row[1];
st.marks[0] = stoi(row[2]);
st.marks[1] = stoi(row[3]);
st.marks[2] = stoi(row[4]);
st.calculate_grade();
list.push_back(st);
}
fin.close();
return list;
}

// This function takes filname to be output as input, and list of student
void writeFile(string filename, vector list){

// Opening the new file
ofstream fin(filename);
for(int i=0;i string line = list[i].fname+"\t"+list[i].lname+"\t"+to_string(list[i].marks[0])+"\t"
+to_string(list[i].marks[1])+"\t"+to_string(list[i].marks[2])+"\t"+list[i].grade+"\n";
fin<
}


// Find the stats required
double average1 =0,average2 =0 ,average3 = 0;
for(int i=0;i average1+=list[i].marks[0];
average2+=list[i].marks[1];
average3+=list[i].marks[2];
}
average1/=list.size();
average2/=list.size();
average3/=list.size();

// Writting the stats
fin<<"\n"<<"Average: "<<"mid_term1 "<
// Closing the file
fin.close();
}
int main(){

// Taking the input
cout<<"Enter the filename: ";
string filename;
cin>>filename;
vector list;

// Reading and Writting to the file
list = read_file(filename);
writeFile("report.txt",list);


}
3 0
3 years ago
Other questions:
  • What is requirement analysis
    8·1 answer
  • Give the type and value of each result of the following Java expressions.
    14·1 answer
  • For his class project, Matt has to create an image in a color scheme that has shade or tint variations of the same hue. Which co
    7·1 answer
  • Briefly discuss constraints
    13·1 answer
  • If you want to refine your google search results by date, which option should you use?
    10·1 answer
  • Instructions:Drag the tiles to the boxes to form correct pairs.
    11·2 answers
  • "explain why professional software is not just the programs that are developed for a customer"
    7·1 answer
  • The ____ operator executes one of two expressions based on the results of a conditional expression. Group of answer choices
    15·2 answers
  • As soon as I can, I will make a discord server for all brainly users. Would anyone like to join it once its set up? (only the di
    8·1 answer
  • Help fast pleas. 3. How is this text formatted? (1 point)
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!