일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- git flow
- #다차원포인터
- html5 new tag
- #C++ has~a
- #binary
- html youtube
- #1차원배열
- #성적관리프로그램
- 토큰경제
- html plug-in
- border-box
- relative path
- hyperledger transaction
- #자바상속#자바이즈어#is~a
- #CallByAddress
- mac terminal command
- docker example
- html object
- #3차원배열
- html video
- html code
- html id
- #JAVASCRIPT
- #android activity
- #2차원배열
- html charset
- #bubbleSort
- #C++ 연산자함수오버로딩
- html multimedia
- 하이퍼레저패브릭
- Today
- Total
목록#2차원배열 (2)
A sentimental robot
#include #pragma warning(disable:4996) void main() { char name[3][10] = { 0, }; int score[3][4] = { 0, }; float avr[3] = { 0 }; int i, j = 0; char scoName[6][10] = { "이름", "국어", "영어","수학","총점","평균" }; for (i = 0; i < 3 ; i++) { printf("%s:", scoName); scanf("%s", name + i); for (j = 0; j < 3 ; j++) // 국,영,수 점수 입력 { printf("%s:",scoName+(j+1)); scanf("%d", *(score + i) + j); *(*(score + i) + 3) +..
#include #pragma warning(disable:4996) void main() { char name[3][10]; int i, j = 0; int score[3][4] = { 0, }; float avg[3]; for (i = 0; i < 3 ; i++) { printf("Name input:"); scanf("%s", &name[i]); for (j = 0; j < 1 ; j++) { printf("korean/english/math score:"); scanf("%d%d%d", &score[i][0], &score[i][1], &score[i][2]); } score[i][3] = score[i][0] + score[i][1] + score[i][2]; avg[i] = score[i][3..