개발자 뺚

[BAEKJOON ONLINE JUDGE] 2372번 : Livestock Count 본문

Solution/Ada

[BAEKJOON ONLINE JUDGE] 2372번 : Livestock Count

2024. 1. 24. 18:00

시간 제한 : 1 초

 

메모리 제한 : 128 MB

 

문제

Print a table that describes the current count of all your livestock.

 

출력

Print the table below as shown. The character “-”, is a dash not an underscore.

 

with Ada.Text_IO;
procedure LivestockCount is begin
    Ada.Text_IO.Put_Line("Animal      Count");
    Ada.Text_IO.Put_Line("-----------------");
    Ada.Text_IO.Put_Line("Chickens      100");
    Ada.Text_IO.Put_Line("Clydesdales     5");
    Ada.Text_IO.Put_Line("Cows           40");
    Ada.Text_IO.Put_Line("Goats          22");
    Ada.Text_IO.Put_Line("Steers          2");
end LivestockCount;