Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void PegarDadosIniciais(){
- //Data dataAtual;
- int diatemp, mestemp, anotemp;
- printf(" @----------------------------------------------------------------------------@n");
- printf(" | ");printf("ttt SISTEMA DE LOCACAO DE VEICULOS");printf("tt |n");
- printf(" @----------------------------------------------------------------------------@n");
- printf("n");
- printf("Bem vindo ao sistema de locacoes de veiculos!! n");
- printf("%sn","Precisaremos de alguns dados para iniciar o sistema.." );
- printf("%snn","PRESSIONE ENTER PARA CONTINUAR.." );
- getch();
- system("cls");
- printf(" @----------------------------------------------------------------------------@n");
- printf(" | ");printf("ttt CONFIGURACOES INICIAIS");printf("tt |n");
- printf(" @----------------------------------------------------------------------------@n");
- printf("n");
- printf("%sn",">>INSIRA A DATA ATUAL<<" );
- printf("%s", "Insira o dia: " );
- scanf("%dn", &diatemp);
- printf("%sn","Insira o mes: " );
- scanf("%dn", &mestemp);
- printf("%sn","Insira o ano: " );
- scanf("%dn", &anotemp);
- printf("%d/%d/%d",diatemp, mestemp, anotemp);
- getch();
- }
Add Comment
Please, Sign In to add comment