F5-two ifs

Hi!
What is the syntax if we want to have to ifs (conditionals) in the same line?

if (whatever==1) & if (whatever2==2){
//actions
}