#include <stdio.h>
int main()
{
int k, m, g;
printf("입력 <Gigabyte> : ");
scanf("%d", &g);
m=g*1024;
k=m*1024;
printf("%dGigabyte = %d Megabyte = %dkillobyte", g, m, k);
return 0;
}
#include <stdio.h>
int main()
{
int k, m, g;
printf("입력 <Gigabyte> : ");
scanf("%d", &g);
m=g*1024;
k=m*1024;
printf("%dGigabyte = %d Megabyte = %dkillobyte", g, m, k);
return 0;
}