java - Parentheses Reduction -


i have written following

if ( ( ( weight < 160 && ( age <= 27 && age >= 22 ) )     && ( ( height < 72 ) && ( ( !isasmoker ) && ( ismale ) ) )     && ( ( isgoodlooking ) && ( isabletorelocate) ) ) ) { 

can reduce parentheses?

thanks

as correctly stated in turing85's comment, can remove every parenthesis except outer ones

if  (weight < 160 && age <= 27 && age >= 22          && height < 72 &&   !isasmoker  &&  ismale            &&   isgoodlooking  &&  isabletorelocate  ) 

this minimum number of parethesis can use. maximum number is... well, virtually infinite (finite number, obviously, infinite possibilities). can add many like, long sintactically correct.


Comments