Á¤¼ºÈÆ
    char_var1.c (Ãß°¡) 0~9 ¹®ÀÚ¸¦ ¼ýÀÚ·Î ¹Ù²Ù±â



1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
 
int main(void)
{
    char c;        // º¯¼ö ¼±¾ð
 
    printf("¹®ÀÚ¸¦ ÀÔ·ÂÇϽÿÀ: ");    // ÀԷ ¾È³»¹®
    scanf("%c"&c);
 
    c = c - '0';
 
    printf("ÀԷµȠ¹®ÀÚ¸¦ ¼ýÀڷΠ¹Ù²Ù¸é %dÀÔ´Ï´Ù\n", c);
    return 0;
}
cs

  µî·ÏÀÏ : 2022-03-20 [16:47] Á¶È¸ : 1644 ´Ù¿î : 0   
 
¡â ÀÌÀü±Ûescape.c (±³Àç)
¡ä ´ÙÀ½±Ûchar_var.c (±³Àç)
ÇÁ·Î±×·¡¹Ö¾ð¾î ½Ç½À°Ô½ÃÆÇ
¹øÈ£ ¨Ï Á¦ ¸ñ Á¶È¸ µî·ÏÀÏ
Mini Project (¾îµåº¥Ã³ °ÔÀÓ ¸¸µé±â) Ãß°¡ ±¸Çö // ¡Ú¡Ú¡Ú ±â¸»°úÁ¦ °ÔÀÓ±¸Çö ½Ã Âü°í
½Ç½À ¸ñÂ÷
41 ¦¦❶ lescape.c (±³Àç) 1831 02-21
40 ¦¦❶ lget_ascii.c (±³Àç) 1691 02-21
39 ¦¦❶ lchar_var.c (±³Àç) 1766 02-21
38    ¦¦❷ lchar_var1.c (±³Àç) 1761 02-21
37       ¦¦❸ char_var1.c (Ãß°¡) ¹®ÀÚ¸¦ 8, 10, 16Áø¼ö·Î Ç¥Çö 1653 03-20
36          ¦¦❹ char_var1.c (Ãß°¡) 0~9 ¹®ÀÚ¸¦ ¼ýÀÚ·Î ¹Ù²Ù±â 1644 03-20
35 ¦¦❶ lcircle_area.c (±³Àç) 1919 02-21
34 ¦¦❶ ltemperature.c (±³Àç) 1769 02-21
33 ¦¦❶ lsunlight.c (±³Àç) 1585 02-21
32 ¦¦❶ lfloat_error.c (±³Àç) 1645 02-21
31 ¦¦❶ lover_under.c (±³Àç) 1499 02-21
30 ¦¦❶ lfloating.c (±³Àç) 1591 02-21
29 ¦¦❶ lswap.c (±³Àç) 1708 02-21
28    ¦¦❷ swap.c (Ãß°¡) ´Ü¼ø±³È¯ÇÏ¸é ¾È µÇ´Â ¿¹ 1393 03-20
27 ¦¦❶ lproperty.c (±³Àç) 1525 02-21
26 ¦¦❶ ldollar2won.c (±³Àç) 1763 02-21
25 ¦¦❶ lint_const.c (±³Àç) 1411 02-21
24 ¦¦❶ loverflow.c (±³Àç) 1724 02-21
23    ¦¦❷ overflow.c (Ãß°¡) integer ¿À¹öÇ÷οì 1390 03-20
22 (2Àå) ±âÃÊ»çÇ× 1085 02-18

[1] [Prev]-[11][12][13][14][15]