SHARE
TWEET

Untitled

a guest Jun 16th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top