<span>Yes, it is true that if we exit an office app we prompted by one dialog box that we want to save the changes to the file or not.It is one of the good option in Microsoft office product if we close the file accidentally it will display the dialog box to choose the options.In that dialog box if we click save changes button it will save the changes what we made new into the file.Then if we click don't save changes button it won;t make any new changes into the file.If we click cancel button it will return to the page we are working on it.</span>
Answer:
f(x) = 4x -1
Consider the scenario when f(x) =0,
4x-1=0
x=1/4
Hence when x is more than 1/4, f(x) will be more than 0. This can be observed too by drawing a linear graph.
Explanation:
Answer:
The C++ code is given below with appropriate comments for better understanding
Explanation:
/*C++ program that prompts user to enter the name of input file(input.txt in this example) and print the sum of the values in the file to console. If file dosnot exist, then close the program */
//header files
#include <fstream>
#include<string>
#include <iostream>
#include <cstdlib> //needed for exit function
using namespace std;
//function prototype
int fileSum(string filename);
int main()
{
string filename;
cout << "Enter the name of the input file: ";
cin >> filename;
cout << "Sum: " << fileSum(filename) << endl;
system("pause");
return 0;
}
/*The function fileSum that takes the string filename and
count the sum of the values and returns the sum of the values*/
int fileSum(string filename)
{
//Create a ifstream object
ifstream fin;
//Open a file
fin.open(filename);
//Initialize sum to zero
int sum=0;
//Check if file exist
if(!fin)
{
cout<<"File does not exist ."<<endl;
system("pause");
exit(1);
}
else
{
int value;
//read file until end of file exist
while(fin>>value)
{
sum+=value;
}
}
return sum;
}//end of the fileSum
Answer:
false
Explanation:
Is a good practice and recommends not to enable the built-in Administrator account on the client computer, we must use the standard user account and User Account Control (UAC).
If we want to enable the built-in Administrator, in this case, for security reasons you should also enable Admin Approval Mode.
Three for location, a fourth to add elevation.