/* 좋아하는 노래 관련 정보 입력하고 출력받는 프로그램*/
#include <stdio.h>
/*
작성자: 나경문
작성날짜: 2026년 3월 26일
작성목적: 퀴즈 과제 제출
*/
int main()
{
printf("*****************\n");
printf("202606017 나경문\n");
printf("*****************\n");
int y, m;
char g;
double t;
scanf("%d %d %c %lf", &y, &m, &g, &t);
printf("제목-가수:high hopes-Brendon Urie 등등\n");
printf("발표년도: %d년\n", y );
printf("발표월: %d월\n", m);
printf("장르: %c\n", g);
printf("재생시간: %.2lf분\n", t);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: