Advertisement
Guest User

C.R.U.D Simples em C++

a guest
Mar 24th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.77 KB | None | 0 0
  1. // Example program
  2. #include <iostream>
  3. #include <string>
  4. #include <stdlib.h>
  5. #include <stdio.h>
  6. using namespace std;
  7. using std::cout;
  8. using std::cin;
  9.  
  10. int main()
  11. {
  12.     string usuario = "";
  13.     int n_de_inscricao = 1;
  14.     string email = "";
  15.     int cpf = 0;
  16.     int telefone = 0;
  17.    
  18.     cout << "CADASTRO DE USUÁRIO" << endl;
  19.     cout << "DIGITE AGORA SEU NOME" << endl;
  20.     cin >> usuario;
  21.     cout << "DIGITE AGORA O SEU E-MAIL" << endl;
  22.     cin >> email;
  23.     cout << "DIGITE AGORA O SEU CPF, SEM TRAÇOS E NEM PONTOS" << endl;
  24.     cin >> cpf;
  25.     cout << "DIGITE AGORA O SEU NÚMERO DE TELEFONE, COM O DD DO SEU ESTADO, SE FOR NO CEARÁ, NÃO SE ESQUEÇA DE POR O 9" << endl;
  26.     cin >> telefone;
  27.     cout << "CADASTRO REALIZADO COM SUCESSO" << endl;
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement