| 12345678910111213141516171819202122232425262728293031323334 |
- #include <stdio.h>
- #include <stdlib.h>
- #include "govno.c"
- typedef struct {
- int ot;
- int doo;
- char str[100];
- } Polz;
- Polz polz() {
- Polz ret;
- printf("От ");
- scanf("%d", &ret.ot);
- if(ret.ot < 0) {
- ret.ot = 0;
- }
- printf("До ");
- scanf("%d", &ret.doo);
- if(ret.ot > ret.doo) {
- printf("НЕКОРРЕКТНО\n");
- exit(1);
- }
- printf("Что ");
- scanf("%99s", ret.str);
- return ret;
- }
- int main(void) {
- Polz r = polz();
- zzz(r.ot, r.doo, r.str);
- printf("\nГОЙДА ЕСТЬ\n");
- return 0;
- }
|