Guest User

Untitled

a guest
May 16th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. void PegarDadosIniciais(){
  2.  
  3. //Data dataAtual;
  4.  
  5. int diatemp, mestemp, anotemp;
  6.  
  7. printf(" @----------------------------------------------------------------------------@n");
  8. printf(" | ");printf("ttt SISTEMA DE LOCACAO DE VEICULOS");printf("tt |n");
  9. printf(" @----------------------------------------------------------------------------@n");
  10. printf("n");
  11. printf("Bem vindo ao sistema de locacoes de veiculos!! n");
  12. printf("%sn","Precisaremos de alguns dados para iniciar o sistema.." );
  13. printf("%snn","PRESSIONE ENTER PARA CONTINUAR.." );
  14. getch();
  15. system("cls");
  16. printf(" @----------------------------------------------------------------------------@n");
  17. printf(" | ");printf("ttt CONFIGURACOES INICIAIS");printf("tt |n");
  18. printf(" @----------------------------------------------------------------------------@n");
  19. printf("n");
  20. printf("%sn",">>INSIRA A DATA ATUAL<<" );
  21. printf("%s", "Insira o dia: " );
  22. scanf("%dn", &diatemp);
  23. printf("%sn","Insira o mes: " );
  24. scanf("%dn", &mestemp);
  25. printf("%sn","Insira o ano: " );
  26. scanf("%dn", &anotemp);
  27. printf("%d/%d/%d",diatemp, mestemp, anotemp);
  28. getch();
  29.  
  30.  
  31. }
Add Comment
Please, Sign In to add comment