Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <iostream>
- using namespace std;
- int main(int argc, char *argv[])
- {
- int a,b,c;
- cout<<"Podaj a,b,c: \n";
- cin>>a;
- cin>>b;
- cin>>c;
- cout<<"\n Twoj wynik to:" ;
- cout<<(a>b?(a>c? a:c):b>c? b:c);
- cout<<"\n \n";
- system("PAUSE");
- return 0;
- }
Add Comment
Please, Sign In to add comment