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;}
0 Comments
if you have any doubt, plz let me know