-
Notifications
You must be signed in to change notification settings - Fork 0
/
inicial.c
42 lines (38 loc) · 2.09 KB
/
inicial.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "examechunin.h"
#ifdef _WIN32
#define CLEAR "cls"
#else
#define CLEAR "clear"
#endif
void telainicial(){
int op, flag = 1;
while(flag){
system(CLEAR);
printf("\n");
printf("███████╗██╗ ██╗ █████╗ ███╗ ███╗███████╗ ██████╗██╗ ██╗██╗ ██╗███╗ ██╗██╗███╗ ██╗\n");
printf("██╔════╝╚██╗██╔╝██╔══██╗████╗ ████║██╔════╝ ██╔════╝██║ ██║██║ ██║████╗ ██║██║████╗ ██║\n");
printf("█████╗ ╚███╔╝ ███████║██╔████╔██║█████╗ ██║ ███████║██║ ██║██╔██╗ ██║██║██╔██╗ ██║\n");
printf("██╔══╝ ██╔██╗ ██╔══██║██║╚██╔╝██║██╔══╝ ██║ ██╔══██║██║ ██║██║╚██╗██║██║██║╚██╗██║\n");
printf("███████╗██╔╝ ██╗██║ ██║██║ ╚═╝ ██║███████╗ ╚██████╗██║ ██║╚██████╔╝██║ ╚████║██║██║ ╚████║\n");
printf("╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝╚═╝ ╚═══╝\n");
printf("\n[1] Iniciar Exame\n");
printf("[2] Sair\n");
printf("Escolha uma opcao: ");
scanf("%d", &op);
switch(op){
case 1:
iniciaexame();
break;
case 2:
flag = 0;
break;
}
}
}
int main(){
telainicial();
return 0;
}