Advertisement
plantbae

* < > 15

May 2nd, 2014
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. float x, y, z;
  6. cout << "Ingrese los nΓΊmeros a multiplicar"<<endl;
  7. cin >> x;
  8. cout<< endl;
  9. cin >> y;
  10. cout<< endl;
  11. z = x*y;
  12.  
  13. if (z < 15)
  14. {
  15. cout << "resultado de la multiplicacion es " <<z<< "; menor a 15" << endl;
  16. }
  17. else
  18. {
  19. cout << "Resultado de la multiplicacion es " <<z<< "; mayor a 15" << endl;
  20. }
  21. system("pause");
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement