-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbcrwd2750.c
24 lines (24 loc) · 1.15 KB
/
bcrwd2750.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include<stdio.h>
int main(){
printf("---------------------------------------\n");
printf("| decimal | octal | Hexadecimal |\n");
printf("---------------------------------------\n");
printf("| 0 | 0 | 0 |\n");
printf("| 1 | 1 | 1 |\n");
printf("| 2 | 2 | 2 |\n");
printf("| 3 | 3 | 3 |\n");
printf("| 4 | 4 | 4 |\n");
printf("| 5 | 5 | 5 |\n");
printf("| 6 | 6 | 6 |\n");
printf("| 7 | 7 | 7 |\n");
printf("| 8 | 10 | 8 |\n");
printf("| 9 | 11 | 9 |\n");
printf("| 10 | 12 | A |\n");
printf("| 11 | 13 | B |\n");
printf("| 12 | 14 | C |\n");
printf("| 13 | 15 | D |\n");
printf("| 14 | 16 | E |\n");
printf("| 15 | 17 | F |\n");
printf("---------------------------------------\n");
return 0;
}