본문 바로가기
Algorithm/JUNGOL

C언어, JUNGOL 501 ~ 510

by OdOp 관리자 2023. 10. 31.
SMALL

jungol 501부터 jungol 510까지 c언어로 작성된 코드입니다.

참고해 주시면 좋을 것 같습니다. 

 

jungol 501

#include <stdio.h>

int main(void)
{
    printf("Fun Programming!");
    return 0;
}

 

jungol 502

#include <stdio.h>

int main(void)
{
    printf("Programming! It's fun.");
    return 0;
}

 

jungol 503

#include <stdio.h>

int main(void)
{
    printf("My name is Hong Gil Dong.\nI am 13 years old.");
    return 0;
}

 

jungol 504

#include <stdio.h>

int main(void) 
{
    printf("(@) (@)\n(=^.^=)\n(-m-m-)");
    return 0;
}

 

jungol 505

#include <stdio.h>

int main(void)
{
    printf("I can program well.\nDreams come true.");
    return 0;
}

 

jungol 506

#include <stdio.h>

int main(void) 
{
    printf("%s\n", "My height");
    printf("%s\n", "170");
    printf("%s\n", "My weight");
    printf("%6f\n", 68.6);
    return 0;
}

 

jungol 507

#include<stdio.h>

int main(void) 
{
    printf("%d Dan\n", 5);
    printf("%d * %d = %d\n", 5, 2, 5*2);
    return 0;
}

 

jungol 508

#include<stdio.h>

int main(void)
{
    printf("%10s", "item");
    printf("%10s", "count");
    printf("%10s\n", "price");
    printf("%10s", "pen");
    printf("%10s", "20");
    printf("%10s\n", "100");
    printf("%10s", "note");
    printf("%10s", "5");
    printf("%10s\n", "95");
    printf("%10s", "eraser");
    printf("%10s", "110");
    printf("%10s\n", "97");
    return 0;
}

 

jungol 509

#include <stdio.h>

int main(void) {
    int a;

    a = -100;
    printf("%d", a);
    return 0;
}

 

jungol 510

#include <stdio.h>

int main(void) {
    int a;
    int b;

    a = -1;
    b = 100;
    printf("%d \n%d", a, b);
    return 0;
}
LIST

'Algorithm > JUNGOL' 카테고리의 다른 글

C언어, JUNGOL 111 ~ 120  (2) 2023.11.04
C언어, JUNGOL 511 ~ 520  (0) 2023.11.03
C언어, JUNGOL 9011 ~ 9020  (2) 2023.11.02
C언어, JUNGOL 101 ~ 110  (0) 2023.11.01
C언어, JUNGOL 9001 ~ 9010  (0) 2023.10.06