7.1.. Napisati program za ispis reciprocne vrijednosti broj ako je različit od nule

Listing programa:


REM P07111003
CLS
INPUT "Broj"; x
IF x <> 0 THEN
  y = 1 / x
END IF
PRINT y
END

Ispis na ekranu:

Index