Write an if statement that will assign 7 to p if the


Answer the following question:

Question 1: Write an if statement that will assign 7 to p if the variable q is outside the range 100 through 1000. (Use single spaces between operators, operands and statements)

Question 2: Write a statement to call the function close which returns nothing passing it the variable door.

Can you write this program in c language? Define every function.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write an if statement that will assign 7 to p if the
Reference No:- TGS0946553

Expected delivery within 24 Hours