Follow instructions to create a visual C project add the C c
Solution
#include<iostream>
#include<conio.h>
#include <string>
#include<conio.h>
using namespace std;
int main(){
string name,college,City,profession,animal,petName;
int age;
cout<<\"Name: \";
cin>>name;
cout<<\"City: \";
cin>>City;
cout<<\"Age: \";
cin>>age;
cout<<\"College: \";
cin>>college;
cout<<\"Profession: \";
cin>>profession;
cout<<\"Animal: \";
cin>>animal;
cout<<\"Pet Name: \";
cin>>petName;
cout<<\" There once was a preson named \"<<name<<\" who lived in \"<<City<<\".At the age of \"<<age<<\" \"<<name<<\" went to collegge at \"<<college<<name<<\"graduated and went to work as a \"<<profession<<\". Then,\"<<name<<\" adopted a(an) \"<<animal<<\" named \"<<petName<<\". They both lived happily for ever.\";
getch();
return 0;
}
#include<iostream>
#include<conio.h>
#include <string>
#include<conio.h>
using namespace std;
int main(){
string name,college,City,profession,animal,petName;
int age;
cout<<\"Name: \";
cin>>name;
cout<<\"City: \";
cin>>City;
cout<<\"Age: \";
cin>>age;
cout<<\"College: \";
cin>>college;
cout<<\"Profession: \";
cin>>profession;
cout<<\"Animal: \";
cin>>animal;
cout<<\"Pet Name: \";
cin>>petName;
cout<<\"There once was a preson named\"<<name<<\"who lived in\"<<City<<\".At the age of\"<<age<<name<<\"went to collegge at\"<<college<<name<<\"graduated and went to work as a \"<<profession<<\". Then,\"<<name<<\"adopted a(an)\"<<animal<<\"named\"<<petName<<\". They both lived happily for ever.\";
getch();
return 0;
}

