Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Movie Ratings List | Working with Lists and Arrays
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C# Lists & Collections

bookChallenge: Movie Ratings List

Task

Swipe to start coding

Create a program that manages a list of movies and their ratings using two separate lists. You will use lists to store the titles of movies and their corresponding ratings. This challenge will help you practice adding items to lists and displaying their contents.

  • Add the provided movie and rating to the movies and ratings lists in the AddMovie function.
  • In the PrintMoviesWithRatings function, print each movie title from the movies list along with its corresponding rating from the ratings list.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 3
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Movie Ratings List

Swipe to show menu

Task

Swipe to start coding

Create a program that manages a list of movies and their ratings using two separate lists. You will use lists to store the titles of movies and their corresponding ratings. This challenge will help you practice adding items to lists and displaying their contents.

  • Add the provided movie and rating to the movies and ratings lists in the AddMovie function.
  • In the PrintMoviesWithRatings function, print each movie title from the movies list along with its corresponding rating from the ratings list.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 3
single

single

some-alt