1. Engineering
  2. Computer Science
  3. i need help with this lab assignment my code will...

Question: i need help with this lab assignment my code will...

Question details

I need help with this lab assignment, my code will not compile. (Ignore the space between "Middle" and "Name", I fixed that issue) But I need help fixing my code in C++ (Also operating in VIM) to allow me to assign the actor's "new first name" to be the current street name. How would I do that and where would I put that??

Also I need help with assigning the actor's new age to be the remainder after dividing the street number by their age and multiplying that quantity by 3. I just need help with that part of fixing my code and knowing where to put it.. Thanks.The actors new first name will be their current streets name. The actors new last name will be their current middle name. The actors new age will be the remainder after dividing the street number by their age. That quantity is then multiplied by 3. The actors new numeric address will be the actors current age multiplied by 700, then divided by their current street number. Finally, the actors new street name will be their current first name. The street type will remain unchanged.int main O L y their age. That string firstname; string middlename; int age; string streetnumber; string streetname; string streettype; string newfirstname string newlastname; mult en divided ne ill remain newfirstname streetname; newlastname middle name cout << Enter your first and middle names: ; cin >> firstname >middlename cout << Enter your age: ; cin >> age; cout << Enter your street number, name, and type: ; cin > streetnumber > streetname >> streettype; cout << Your movie star name is cout << newlastname << newfirstname;cout < Your movie star name is ; cout << newlastname << newfirstname; return0;

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution