2.Using a "For loop" function, create a program which stores your four favorite movies/anime and its released date. Example output: Enter title: Pirates of the Caribbean Enter year: 2003 Enter title: Iron Man Enter year: 2008 Enter title: Bohemian Rhapsody Enter year: 2018 Enter title: Avengers: Endgame Enter year: 2019 My four favorite movies: Pirates of the Caribbean (2003) Iron Man (2008) Bohemian Rhapsody (2018) Avengers: Endgame (2019)
2.Using a "For loop" function, create a program which stores your four favorite movies/anime and its released date. Example output: Enter title: Pirates of the Caribbean Enter year: 2003 Enter title: Iron Man Enter year: 2008 Enter title: Bohemian Rhapsody Enter year: 2018 Enter title: Avengers: Endgame Enter year: 2019 My four favorite movies: Pirates of the Caribbean (2003) Iron Man (2008) Bohemian Rhapsody (2018) Avengers: Endgame (2019)
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.6: Nested Loops
Problem 1E: (Misc. application) Four experiments are performed, and each experiment has six test results. The...
Related questions
Question
![2.Using a "For loop" function, create a program which stores your four favorite movies/anime and its
released date.
Example output:
Enter title: Pirates of the Caribbean
Enter year: 2003
Enter title: Iron Man
Enter year: 2008
Enter title: Bohemian Rhapsody
Enter year: 2018
Enter title: Avengers: Endgame
Enter year: 2019
My four favorite movies:
Pirates of the Caribbean (2003)
Iron Man (2008)
Bohemian Rhapsody (2018)
Avengers: Endgame (2019)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fb851dfbe-6a69-426a-8159-effd64d10863%2Fdf909594-a167-46c2-ad21-537bf4752b4a%2Fleublmk_processed.jpeg&w=3840&q=75)
Transcribed Image Text:2.Using a "For loop" function, create a program which stores your four favorite movies/anime and its
released date.
Example output:
Enter title: Pirates of the Caribbean
Enter year: 2003
Enter title: Iron Man
Enter year: 2008
Enter title: Bohemian Rhapsody
Enter year: 2018
Enter title: Avengers: Endgame
Enter year: 2019
My four favorite movies:
Pirates of the Caribbean (2003)
Iron Man (2008)
Bohemian Rhapsody (2018)
Avengers: Endgame (2019)
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning