bruh
This commit is contained in:
+10
-26
@@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user