#include <stdio.h>

#include <stdlib.h>

#include <windows.h>


int main(void)

{

  

  float CARD[] = {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4};

  char INPUT[1];

  int x=0, y=0;

  int b;

  int i=0, r;

  float sumL, sumH, PosL, PosH, sumCARD;

  for(;;){


printf("초기 카드를 입력하시오: ");

   gets(INPUT);

  

   x=atoi(INPUT);

    if(INPUT[0]=='1') x=10;

if(INPUT[0]=='j') x=11;

if(INPUT[0]=='q') x=12;

if(INPUT[0]=='k') x=13;

if(INPUT[0]=='a') x=14;


9 이하는 atoi

10 이상은 1:1 상수 대입