Write a QBasic program to solve the equation ax + b = 0.

QBasic:
CLS
INPUT “Vvedite a:”, a
INPUT “Vvedite b:”, b
PRINT “x =”;
IF a = 0 THEN
IF b = 0 THEN
PRINT 0
ELSE PRINT “beskonechnost”
END IF
ELSE PRINT b / a
END IF



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.