Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.image text in transcribedimage text in transcribedimage text in transcribed

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; cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions