Question
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
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 actor's new first name will be their current street's name. The actor's new last name will be their current middle name. The actor's new age will be the remainder after dividing the street number by their age. That quantity is then multiplied by 3. The actor's new numeric address will be the actor's current age multiplied by 700, then divided by their current street number. Finally, the actor's 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 > firstname >middlename cout > age; cout streetnumber > streetname >> streettype; coutStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started