move prompt + help

This commit is contained in:
Odweta
2026-02-17 17:07:16 +01:00
parent 153ca9e50c
commit ed02a45205
5 changed files with 70 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
#include "util.h"
#include <stdio.h>
void clear_stdin() {
while (getchar() != '\n');
}
bool is_int_in_range(int x, int start, int end) {
if (start <= x && x <= end) {
return true;
} else {
return false;
}
}