728x90
반응형
문제 요약
- 알고리즘 분류: 구현
- 난이도: Bronze5
- 문제내용:
- 위와 같이 출력해라
- 사이트 : https://www.acmicpc.net/problem/2372
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
반응형
'알고리즘 > 백준' 카테고리의 다른 글
[BAEKJOON]2206 벽 부수고 이동하기 - Python (0) | 2022.12.26 |
---|---|
[BAEKJOON]2377 Pottery - FreeBASIC (0) | 2022.12.24 |
[BAEKJOON]1809 Moo - Golfscript (2) | 2022.12.24 |
[BAEKJOON]1753 최단경로 - Python (0) | 2022.12.23 |
[BAEKJOON] 11404 플로이드 (0) | 2022.12.21 |