/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <stdio.h>
int main()
{
char ch;
char str[10];
int i;
float f;
printf("λ¬Έμλ₯Ό μ
λ ₯νμΈμ: ");
scanf("%c",&ch); //&
printf("λ¬Έμμ΄μ μ
λ ₯νμΈμ: ");
scanf("%s",str);
printf("μ
λ ₯λ°μ λ¬Έμ: %c\n",ch);
printf("μ
λ ₯λ°μ λ¬Έμμ΄: %s\n",str);
printf("μ μλ₯Ό μ
λ ₯νμΈμ: ");
scanf("%d",&i); //&
printf("μ€μλ₯Ό μ
λ ₯νμΈμ: ");
scanf("%f",&f); //&
printf("μ
λ ₯λ°μ μ μ : %d\n",i);
printf("μ
λ ₯λ°μ μ€μ : %f\n",f);
return 0;
}