Professional Documents
Culture Documents
Meeting №9
Topic: Logical operators and selection statements
Task 1: Write a program that changes the color of the console application at the user's discretion.
The user can select the font color and background color.
Task 2: Write a program that raises the entered number to the power from zero to seven,
inclusively, at the user's discretion.
1
Practicum 5
Course «C Programming Language»
Meeting №10
Topic: Loops
Task №1. Display all the numbers from zero to the number entered by the user.
Task №2. The user enters two limits of the range, display all the numbers in that range. Provide
that the user can enter range limits in any order.
Task №3. The user enters two limits of the range. Calculate the sum of all the numbers in the
range.
Task №4. The user enters numbers from the keyboard. Calculate their sum and display as soon
as the user enters zero.