Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x(1) = 1
- x(2) = 3
- x(3) = 5
- x(4) = 7
- x(5) = 9
- xx = input('Введите х')
- if (xx < x(1))
- disp('группа N1')
- end
- if ((xx >= x(1)) && (xx < x(2)))
- disp('группа N2')
- end
- if ((xx >= x(2)) && (xx < x(3)))
- disp('группа N3')
- end
- if ((xx >= x(3)) && (xx < x(4)))
- disp('группа N4')
- end
- if (xx >= x(4))
- disp('группа N5')
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement