Search⌘ K

Exercise: Making a Phone Book

Explore how to organize and manage contact information in Rust. Learn to define structures for individuals, store them in vectors, and print the data. This lesson helps you apply Rust fundamentals to design and implement a simple phone book program.

We'll cover the following...

Problem statement

You have some names and telephone numbers on paper and would like to store them in a Rust program for printing.

The data is:

...