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...
icon
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)
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
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning