lundi 27 janvier 2020

Conditional HTML statments and printing instructions

In HTML what I want to do is for example:

z = x + y;

If x < 0

Print: "x cannot be less than 0. Please try again"

And this would be in the script function part of the code of Course with the associated programming and all that. I just dont know the right way to print a string with conditional statements. Any help would be appreciated.




Aucun commentaire:

Enregistrer un commentaire