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. […]
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.
Here is a simple calculator program I made in Delphi. There is also an IF THEN ELSE statement if the user is trying to divide […]
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 […]