NIcogay

Untitled

Aug 20th, 2019
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<iostream>
  2. #include<cstdlib>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int cm;
  9. int ms;
  10. int hs;
  11. int hb;
  12. cout << "Ingrese Cantidad De Minutos\n";
  13. cin >> cm;
  14. ms = cm % 60;
  15. hs = (cm-ms)/60;
  16. hb = hs + ms;
  17. cout << "horas y minutos obtenidos"; hb;
RAW Paste Data