/*rgb값 입력해서 10진수로 변환하는 프로그램*/
#include <stdio.h>
/*

작성자: 나경문

작성날짜: 2026년 3월 19일

작성목적: 퀴즈 과제 제출

*/
intmain()  {
   printf("*****************\n");

    printf("202606017 나경문\n");

    printf("*****************\n");
  
    int data 8;
  int data 2;
  int data 16:
  int data 10:
    scanf("%d", &data10);
    scanf("%o", &data8);
    scanf("%x", &data16);

    printf("%o/n", data10);
    printf("%d/n", data10);
    printf("%x/n", data10);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: