Advertisement
Nishat_Samrin

maximum

Oct 18th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main () {
  4.  
  5. int N,b,c;
  6.  
  7. scanf("%d %d %d",&N,&b,&c);
  8.  
  9. if(N>b && N>c) {
  10. printf("%d",N);
  11. }
  12. else if (b>N && b>c) {
  13. printf("%d",b);
  14. }
  15.  
  16. else if (c>N && c>N) {
  17. printf ("%d",c);
  18. }
  19.  
  20.  
  21.  
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement