<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..
A: SSD, HDD, CPU or RAM
Whether you go with the faster SSD or slower but larger HDD, keep in mind you may end up needing a drive large enough to run a dual boot system if you plan on coding in multiple environments. Virtualization of other operating systems is another option, but that requires a fast CPU and a large amount of RAM to work well.
B: Ram because its larger than the others, and will work better.
C: i don't really have a suggested system but here
You may appreciate the seamless experience iOS offers, the flexibility of Android or the familiarity of Windows with your everyday PC. It might take some time to acclimate to a new system, so it may be best to stick with what you know.
Please consider marking brainliest.. thx
Answer: In 3D animation, squash and stretch is a technique that is applied to an animated or in-motion characters to give them a more exaggerated movement
Explanation: