티스토리 뷰
PROGRAM Multiplication_Table !--------------------------------------------------------------------------------- ! Program to calculate and display a list of products of two numbers. ! Variables used are: ! M, N : the two numbers being multiplied ! PROD : their product ! Last_M, Last_N : the last values of M and N ! ! Input : Last_M and Last_M, the largest numbers to be multiplied ! Output : List of products M * N !--------------------------------------------------------------------------------- IMPLICIT NONE INTEGER :: M, N, Last_M, Last_N, Product PRINT *, "Enter the last values of the two numbers :" READ *, Last_M, Last_N PRINT *, "M N M*N" PRINT *, "============" DO M = 1, Last_M DO N = 1, Last_N Product = M * N PRINT *, M, " ", N, " ", Product END DO END DO pause END PROGRAM Multiplication_Table
'노트 > Fortran 연습' 카테고리의 다른 글
Program 3.5. 이진 반가수기 (0) | 2014.04.06 |
---|---|
Program 3.4. 오염지수 3 (0) | 2014.04.06 |
Program 3.3. 오염지수 2 (0) | 2014.04.06 |
Program 3.2. 오염지수 (0) | 2014.04.06 |
Program 3.1. 이차 방정식 (0) | 2014.04.06 |
Program 2.Exercise6.2. 온도 변환 (2nd Version) (0) | 2014.03.23 |
Program 2.Exercise6.1. 온도 변환 (1st Version) (0) | 2014.03.23 |
Program 2.Exercise5 (0) | 2014.03.23 |
Program 2.1. 발사체 문제 (0) | 2014.03.22 |
Program 1.Exercise10 (0) | 2014.03.22 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 경제학과 홍성표
- 충남대학교 경제학과 30주년 기념
- 티스토리
- Presentation Ice Breaker
- 대전
- 경제학 홍성표
- 한국은행 통화정책 경시대회
- 충주대원고등학교
- 한국천문연구원
- 양구
- 티스토리 초대장
- 아동 학대
- 초대장
- 함성
- 충남대 홍성표
- 키워드
- 티스토리 초대권
- wwe
- 충남대
- 홍성표
- 충주
- 충남대학교 경제학과
- 홍성표 교수
- 검색량
- 충주충일중학교
- 괴산
- 티스토리 초대
- 학점 계산기
- 네이버
- 충남대학교
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함