P
paul
hello , i no what an if statement is but in a question like this what
am i supposed to write when describing a full syntax?
Describe the full syntax of the IF statement.
Also am struggling with writing staemnts for the following, could
someone help pleaseeeeeeeeeee
b/ Write condition statements for use in an IF statement for the
following cases:
i. The integer X lies between 5 and 10
ii. The string gender is not equal to "female"
iii. The logical variable test is true (3 marks)
iv. If today's date is 21/3/2007 and the date variable containing the
date of birth of birth is DoB then the condition should be carried out
if the person is over 20 years of age
thanks, any help would be brilliant
am i supposed to write when describing a full syntax?
Describe the full syntax of the IF statement.
Also am struggling with writing staemnts for the following, could
someone help pleaseeeeeeeeeee
b/ Write condition statements for use in an IF statement for the
following cases:
i. The integer X lies between 5 and 10
ii. The string gender is not equal to "female"
iii. The logical variable test is true (3 marks)
iv. If today's date is 21/3/2007 and the date variable containing the
date of birth of birth is DoB then the condition should be carried out
if the person is over 20 years of age
thanks, any help would be brilliant