main.go166 chars14 lines
This program uses the if
statement in Go to determine if a student has passed or failed based on their score. We compare the score to 71 using the greater than or equal to operator (>=
) and print the corresponding result.
gistlibby LogSnag