This commit is contained in:
oniic
2026-04-25 17:23:04 +07:00
parent 7f0f6ab5ba
commit 92b040fb32
129 changed files with 1809 additions and 1112 deletions
+10 -26
View File
@@ -1,30 +1,14 @@
#include <stdio.h>
typedef struct{
char ch;
struct ste{
int x;
int y;
int z;
}st;
}STR;
int main(){
int partFirst = 16; // считаем что романтические отношения начинаются с 16
int partSecond = 16;
STR m1;
putchar('a'); //1
m1.ch = 'A';
putchar('g'); //2
(&m1)->ch = 'B';
putchar('z'); //3
putchar('z'); //4
STR* m2;
putchar('a');//5
m2->st.x = 'A';
putchar('g'); //6
(&(m2)->st)->x = 'B';
putchar('z'); //7
int count = 0, fix = -2;
while (partFirst<80){
if (count == 3+(fix>7?2:0)) {fix++; count = 0;}
partSecond = (partFirst + 4) + fix;
printf("Возраст партнёров %d • %d\n", partFirst, partSecond);
partFirst++; count++;
}
}