Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- float x, y, z;
- cout << "Ingrese los nΓΊmeros a multiplicar"<<endl;
- cin >> x;
- cout<< endl;
- cin >> y;
- cout<< endl;
- z = x*y;
- if (z < 15)
- {
- cout << "resultado de la multiplicacion es " <<z<< "; menor a 15" << endl;
- }
- else
- {
- cout << "Resultado de la multiplicacion es " <<z<< "; mayor a 15" << endl;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement