]> zdv2.bktei.com Git - BK-2023-05.git/blob - src/test5.c
feat(src/kr/ch1/s1.6/e1-14):Complete exercise
[BK-2023-05.git] / src / test5.c
1 /* Desc:
2 * Usage: ./test5
3 * Ref/Attrib: [1] https://youtu.be/ix5jPkxsr7M?t=3072
4 */
5
6 #include <stdio.h>
7 #include <stdlib.h>
8
9 int main()
10 {
11 int age = 40;
12 double gpa = 3.6;
13 char grade = 'A'; // must use single-quotes
14 char phrase[100] = "baltakatei";
15
16 printf("\n");
17 printf("age:%i\n", age);
18 printf("gpa:%f\n", gpa); // %f indicates float or double?
19 printf("phrase:%s\n", phrase);
20 printf("\n");
21
22 return 0;
23 };
24
25 /*
26 * Author: Steven Baltakatei Sandoval
27 * License: GPLv3+
28 */