Α1 ΛΥΚΕΙΟΥ

Theory: Chapter 4, Logic (p. 21-27)

Exercises: Chapter 4 (reading)

Homework: Write a program that solves the linear equation ax+b = 0.

It accepts the two coefficients a, b and prints one of the following:

  • the x root of the equation

  • the message "equation impossible"

  • the message "equation indefinite"



Featured Posts
Recent Posts