Answer:
To capture the contents of the currently active window, press Alt-PrtScrn (or Alt-Print Screen ). To capture the contents of the entire screen, press PrtScrn (or Print Screen ) by itself.
hope it helps you
make me brainliest plz
Answer:
In Windows 10 press the start button.
Then type <em><u>'Microsoft Word'.</u></em>
Next you will see an <u><em>Open</em></u> option, press that.
Now your <em><u>'Microsoft Word'</u></em> is ready.
Explanation:
Answer:
int x;
String s;
if ((x%3) == 0) {
s = "Divisible by 3";
} else {
s = "Not divisible by 3";
}
System.out.println(s);
Explanation:
A : B ? C generally translates to if (A) { B } else { C }.
Note the == to compare to 0. The single = in the original expression is a mistake.
Answer:
See Explaination
Explanation:
/ Header files section
#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
#include <cmath>
using namespace std;
// start main function
int main()
{
// variables declaration
string fileName;
string lastName;
double score;
double total;
double grade;
string description;
// prompt the user to enter the input file name
cout << "Enter the input file name: ";
cin >> fileName;
// open the input file
ifstream infile;
infile.open(fileName);
// exit from the program if the input file does not open
if (!infile)
{
cout << fileName << " file cannot be opened!" << endl;
exit(1);
}
// repeat the loop for all students in the file
infile >> lastName;
while (infile)
{
infile >> score;
infile >> total;
// compute the grade
grade = score / total * 100;
// find the grade's description
if (grade > 90)
description = "Excellent";
else if (grade > 80)
description = "Well Done";
else if (grade > 70)
description = "Good";
else if (grade >= 60)
description = "Need Improvement";
else
description = "Fail";
// display the result of each student
cout << lastName << " " << setprecision(0) << fixed << round(grade) << "% " << setprecision(5) << fixed << (grade * 0.01) << " " << description << endl;;
infile >> lastName;
}
// close the input file
infile.close();
system("pause");
return 0;
} // end of main function
Answer:
After running the given pseudocode the values will be:
A. A[K] = 20, A[K + 1] = 20
Explanation:
The given pseudocode appears to be applied on an array.
Let us look at the given pseudocode one by one
A[K] = 10;
This line of code assigns value 10 to the position A[K] in array
A[K+1] = 20;
This line of code assigns value 20 to the position A[K+1]
A[K] = A[K+1];
This line will assign the value at A[K+1] to A[K] which means value 20 will be assigned to A[K]
so after this line A[K] = 20
A[K+1 ] = A[K];
This line will assign the value in A[K] to A[K+1] as A[K+1] has the value 20 currently so
A[K+1] = 20
Hence,
After running the given pseudocode the values will be:
A. A[K] = 20, A[K + 1] = 20