본문 바로가기
BaekJoon/Bronze

[BOJ/Ada] 백준 2393 : Livestock Count (Ada)

by HoonSikE 2023. 7. 8.
반응형
SMALL
문제 정보
  문제명   - Livestock Count
  난이도   - 브론즈 V
문제 번호 - 2393번

문제 링크

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


문제
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.

예제 입력/출력
예제 입력 예제 출력
 
Animal      Count
-----------------
Chickens      100
Clydesdales     5
Cows           40
Goats          22
Steers          2

알고리즘 분류
● 구현

소스코드
with Ada.Text_IO; use Ada.Text_IO;

procedure Main 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 Main;

 


BaekJoon List
 

BaekJoon List

BOJ Start!! ● [BOJ] 백준 회원가입, 시작하는 법 ● [BOJ] 등급(티어) 및 Solved.AC 적용 ● [BOJ/JAVA] 백준 소스코드 제출 시 유의사항(자바) Bronze ● Bronze V  - ● Bronze IV  - ● Bronze III  -..

han-hoon.tistory.com


  

기회는 준비된 자에게 찾아온다.

 


 

반응형
LIST

댓글