asked 215k views
2 votes
Anybody know how to do coding 3.2.1. Relational Operators in If Statements?

1 Answer

0 votes

// A single if statement

if (boolean expression)

Do statement;

// Or a single if with {}

if (boolean expression)

{

Do statement;

}

// A block if statement: { } required

if (boolean expression)

{

Do Statement1;

Do Statement2;

...

Do StatementN;

}

Note

answered
User Alkas
by
8.8k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.