본문 바로가기
알고리즘/백준

[BAEKJOON]2372 Livestock Count - Ada

by 응애~ 개발자 2022. 12. 24.
728x90
반응형

문제 요약

 

2372번: Livestock Count

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

www.acmicpc.net

문제풀이

 Ada언어는 문법 따로 공부해야 한다.

with Ada.Text_IO; use Ada.Text_IO;

procedure program_alioolio is
begin
  Put_Line("Animal      Count");
  Put_Line("-----------------");
  Put_Line("Chickens      100");
  Put_Line("Clydesdales     5");
  Put_Line("Cows           40");
  Put_Line("Goats          22");
  Put_Line("Steers          2");
end program_alioolio;
728x90
반응형