Answer:
Computer hardware is any physical device used in or with your machine, whereas software is a collection of code installed onto your computer's hard drive. For example, the computer monitor you are using to read this text and the mouse you are using to navigate this web page are computer hardware.
Explanation:
<span>The space between the lines of program codes make the code easier to read. This is used by programmers to make their programs more readable and clear. The space between the lines is not recognized by the compiler, thus it is ignored by the compiler.</span>
Answer:
The answer to this question is given below in the explanation section
Explanation:
This question is about matching the column. So, Gino used the various preinstalled application software and system tools for the following purposes.
Disk cleaner: Gino needs to locate unnecessary files that are taking up a considerable amount of space.
Data recovery: Gino notices many corrupted files and wants to extract good data from them.
Utility diagnostic program: Gino needs to check the operational status of the computer's hardware and software.
Antivirus: Gino's system is acting odd after browsing the internet, and he needs to scan the system.
ExFAT would be the answer.
#include <iostream>
#include <vector>
using namespace std;
class Student
{
public:
Student(int mark)
{
this->mark = mark;
if (mark >= 90 && mark <= 100)
grade = 'A';
else if (mark >= 80 && mark <= 89)
grade = 'B';
else if (mark >= 70 && mark <= 79)
grade = 'C';
else if (mark < 70 && mark >= 0)
grade = 'D';
else
cout << "Invalid mark, grade not assigned";
}
int getMark()
{
return mark;
}
char getGrade()
{
return grade;
}
private:
int mark;
char grade;
};
int main()
{
vector<Student> students;
int num, mark;
cout << "Enter number of students: ";
cin >> num;
if (num <= 0)
cout << "Invalid number of students, exiting";
else
{
for (int i = 1; i <= num; i++)
{
cout << "Enter marks for student " << i << ": ";
cin >> mark;
Student s(mark);
students.push_back(s);
}
}
// do whatever you like with the vector from here onwards, such as:
/*
for (int i = 0; i < students.size(); i++)
{
cout << "Student " << i + 1 << " grade: " << students[i].getGrade() << endl;
}
*/
return 0;
}