Ad Code

NEW POST

6/recent/ticker-posts

SRM ELAB PROBLEM : Three brothers want to take a photo with family members. The photographer is capturing the photo from a long distance.

 Three brothers want to take a photo with family members. The photographer is capturing the photo from a long distance. 

#include <stdio.h> int main() { int bro1,bro2,bro3,tallest; scanf("%d%d%d",&bro1,&bro2,&bro3); if(bro1>bro2&&bro3) { tallest=bro1; } else if(bro2>bro3) { tallest=bro2; } else {tallest=bro3;} printf("%d",tallest); return 0;}

Post a Comment

0 Comments