school/bomba.c
2023-12-18 14:54:52 +01:00

23 lines
331 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");
}