Why Does an Ada Program Look Like This? · 10 Lessons
English

Computer Fundamentals

Module 7 – Why Does an Ada Program Look Like This?

Page 4 of 10 · About 15 minutes per lesson, including practice.

Why use Exists

use Ada.Text_IO;

Without use, you would have to write:

Ada.Text_IO.Put_Line("Hello, World!");

every time.

The use statement tells Ada:

“You may use these names directly.”

This makes code shorter and easier to read.

Example code on Agila Forge ↗

Complete this lesson

Answer every check correctly to earn your lesson certificate. Feedback helps you review and try again.

Sign in · Save your progress and earn a certificate for this lesson.