23 lines
333 B
C
23 lines
333 B
C
//
|
|
// Created by bruno on 12/11/23.
|
|
//
|
|
|
|
#include "bomba.h"
|
|
#include "stdio.h"
|
|
#include "unistd.h"
|
|
|
|
int dake_cislo() {
|
|
int a;
|
|
|
|
printf("Zadaj číslo:");
|
|
scanf("%d", &a);
|
|
|
|
do {
|
|
printf("%d\n", a);
|
|
usleep(1000000);
|
|
a--;
|
|
|
|
} while (a >= 0);
|
|
printf("\nAdlerka vybuchla (BOOOOOOOOOOM).\n");
|
|
|
|
} |