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

Computer Fundamentals

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

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

Why Put_Line Uses Parentheses

Put_Line("Hello, World!");

Put_Line prints one line of text.

The parentheses contain the information being passed.

The quotation marks tell Ada:

“This is text.”

Without quotes, Ada would assume I or am were variable names.

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.