Advertisement
Guest User

Szorzas

a guest
Mar 24th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {int a,b,c;
  7.  
  8. cout<<" Add meg az elso tagot = ";cin>>a;
  9. cout<<" Add meg a masodik tagot = ";cin>>b;
  10. cout<<"Add meg a ketto szorzatanak eredmenyet = ";cin>>c;
  11.  
  12.     if(a*b==c){
  13.         cout<<"Helyes";
  14.     }
  15.         else{
  16.             cout<<"Helytelen";
  17.         }
  18.  
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement