Изменения в ЛБ
This commit is contained in:
parent
1a2044ef82
commit
a289ebb8d9
14
L9-1.cpp
14
L9-1.cpp
@ -16,7 +16,6 @@ void print10_1() {
|
|||||||
a -= 1;
|
a -= 1;
|
||||||
} while (a >= 1);
|
} while (a >= 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void print5Odds() {
|
void print5Odds() {
|
||||||
int a = 1;
|
int a = 1;
|
||||||
int i = 1;
|
int i = 1;
|
||||||
@ -55,6 +54,8 @@ void main() {
|
|||||||
SetConsoleOutputCP(1251);
|
SetConsoleOutputCP(1251);
|
||||||
int n;
|
int n;
|
||||||
do {
|
do {
|
||||||
|
|
||||||
|
חהוס<EFBFBD> למדכא ב<EFBFBD>ע<EFBFBD> גארא נוךכאלא
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("Âûáåðèòå íóæíóþ âàì îïåðàöèþ\n");
|
printf("Âûáåðèòå íóæíóþ âàì îïåðàöèþ\n");
|
||||||
@ -69,16 +70,7 @@ void main() {
|
|||||||
scanf_s("%d", &n);
|
scanf_s("%d", &n);
|
||||||
switch (n) {
|
switch (n) {
|
||||||
|
|
||||||
case 1:
|
|
||||||
print1_10();
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
print10_1();
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
print5Odds();
|
|
||||||
break;
|
|
||||||
case 11:
|
|
||||||
print100_10_while();
|
print100_10_while();
|
||||||
case 12:
|
case 12:
|
||||||
print1000_100_while();
|
print1000_100_while();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user