Шукаєте відповіді та рішення тестів для Jęz. ang. specjalistyczny - p.zalecki - wiisi - sem 2 - lektorat - PZ 2025/26ST-L? Перегляньте нашу велику колекцію перевірених відповідей для Jęz. ang. specjalistyczny - p.zalecki - wiisi - sem 2 - lektorat - PZ 2025/26ST-L в moodle2025.pcz.pl.
Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!
The user's decision as far as which option s/he picks will be saved in the choice variable.
Thanks to system ("cls") the program will restart on a blank screen.
The mechanics of this application is based on the switch/break command, but it can easily be build on if/if else conditioning.
In case of '4' the program will automatically consider one more conditional statement and print a suitable notification if the value of y is equal zero.
The choice variable can only be an integer.
The switch instruction in this program interprets the values of integers x and y.
In the case of '3' the program will print the multiplication value of x and y and terminate its operation.
The cursor will be positioned in the "new line" after the program prints Your choice:
Thanks to while (true) there is no limit to how many times the user will want to use the program without restarting it.
The program can work out operations on floating numbers.