Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main (){
  6.  
  7. int matricula_vendedor, tempo_casa;
  8. float valor_mes_1, valor_mes_2, valor_mes_3;
  9. char nome_vendedor[50];
  10.  
  11. cout << " ============================== Calculo Comissão ==============================" << endl;
  12. cout << " ============ Digite os dados solicitados para calcular a comissão ============" << endl;
  13. cout << " ==============================================================================" << endl;
  14.  
  15. cout << " Matricula: ";
  16. cin >> matricula_vendedor;
  17. cout << " Nome: ";
  18. cin.ignore();
  19. cin.getline (nome_vendedor, 50);
  20. cin >> nome_vendedor;
  21.  
  22. cout << nome_vendedor;
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement