Tags : if then else

Rock Paper Scissors – Excel style

While I’ve been working on the various Excel activities, I designed a Rock Paper Scissors game in Excel to show how to use nested IFs. […]

Delphi activity – perimeter fencing application

This program calculates the perimeter of an area after the user inputs two measurements (length and width). It works out the cost per meter and also any applicable price reductions and discounts based on certain criteria.


Another basic example of IF THEN ELSE. procedure TForm1.btnCheckClick(Sender: TObject); var age : Integer; begin age := StrToInt(edtAge.Text); if (age>=18) then ShowMessage(‘Congratulations! You are old […]