Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main (){
- int matricula_vendedor, tempo_casa;
- float valor_mes_1, valor_mes_2, valor_mes_3;
- char nome_vendedor[50];
- cout << " ============================== Calculo Comissão ==============================" << endl;
- cout << " ============ Digite os dados solicitados para calcular a comissão ============" << endl;
- cout << " ==============================================================================" << endl;
- cout << " Matricula: ";
- cin >> matricula_vendedor;
- cout << " Nome: ";
- cin.ignore();
- cin.getline (nome_vendedor, 50);
- cin >> nome_vendedor;
- cout << nome_vendedor;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement