dsr95

C++ Lab 2.2

Dec 17th, 2014
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. // lab2.2 dsr.cpp : Defines the entry point for the console application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include <iostream>
  6.  
  7.  
  8. using namespace std;
  9.  
  10.  
  11. int main()
  12. {
  13. int Pago;
  14. int Horas;
  15.  
  16. cout << "Favor de ingresar horas trabajadas. ";
  17. cin >> Horas;
  18. Pago = Horas * 7.50;
  19. cout << "Su salario total es: " << Pago;
  20.  
  21.  
  22. system("PAUSE");
  23.  
  24. return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment