Since the employee has been writing a secure shell around software used to secure executable files and he has also conducted a self-test, he seems to be working in the development environment.
C. Development
<u>Explanation:</u>
The development environment requires an employee to work with algorithms and programming techniques to make programs/software's that are further passed on to the testing department to ensure that they are ready to be launched or deployed.
Although it is the job of testing environment and testers to conduct tests on the developed software's/programs, it is always a good practice to run some self-tests to ensure the efficiency and accountability of a program/software.
<u>Solution and Explanation:</u>
//Header files
#include<iostream>
#include<string>
#include<fstream>
using namespace std;
int main()
{
fstream fin;
char str[]="";
string question;
char filename[20];
char choice;
string answer;
//seed for random number
unsigned seed=0;
srand(seed);
cout<<"Enter your file name : ";
cin>>filename;
cout<<endl;
//if file not exist then gives message
//reading file
do
{
fin.open(filename,ios::in);
if(!fin)
{
cout<<"couldnot find the file...";
std::system("pause");
return 0;
}
while(!fin.fail())
{
cout<<endl<<"Enter your quesion"<<endl;
fflush(stdin);
getline(cin,question);
answer="";
char ch;
while((ch=fin.get())!='\n'&&!fin.fail())
{
//reading line
answer+=ch;
if(ch=='#')
{
int randNum=1+rand()%18;
answer +=randNum+'0';
ch=fin.get();
}
}
cout<<answer<<endl;
}
fin.close();
cout<<"Do you want to continue (Y/y to continue) :";
cin>>choice;
}while(choice=='y'||choice=='Y');
//To pause the output
system("pause");
return 0;
}//end of main..
Click the x
And restart your computer go to settings and restart your whole computer
To make sure that they can get there money correctly and count each costumer to get a sum of the days work