박혀노 2023. 7. 11. 07:59
728x90

📚문제

출처 : 백준 / 2372번 (https://www.acmicpc.net/problem/2372)

 

📝풀이

with Ada.Text_IO;
procedure Hello 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 Hello;

 

이번에는 Ada라는 언어로 풀이가 제한되어있다.

그냥 이런 언어가 있고 , 이런 방식으로 코드를 짠다 정도만 인지하고 넘어가자.......

 

▼ Ada 

더보기
챗 GPT
728x90