Task another lab1

wrong if statement