Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main (){
- int a,b,c;
- cout<<"unesite stranicu a: ";
- cin>>a;
- cout<<"unesite stranicu b: ";
- cin>>b;
- cout<<"unesite stranicu c: ";
- cin>>c;
- if(a!=b && a!=c && b!=c )
- cout<<"Trokut je raznostranican!"<<endl;
- else if (a==b || b==c || c==a)
- cout<<"Trokut je jednakokracan!"<<endl;
- else if (a==b && a==c && b==c)
- cout<<"Trokut je jednakostranican"<<endl;
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement