From ef5772d779b813744420e28e0bea2c619d0ed8a1 Mon Sep 17 00:00:00 2001 From: fdai7801 Date: Fri, 9 Feb 2024 21:08:06 +0000 Subject: [PATCH] kabrel --- src/main/c/BasicMode.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/c/BasicMode.c b/src/main/c/BasicMode.c index 7cab631..a9e60fc 100644 --- a/src/main/c/BasicMode.c +++ b/src/main/c/BasicMode.c @@ -65,8 +65,14 @@ long long int subtraction(long long int a, long long int b) { int main() { + long long int bin1, bin2, dec, result; + char auswahl1, auswahl2; + do { + printf("what do you want to do?(A for conversion from decimal base to binary base ,B for conversion from binary base to decimal base ,C for Operation in binary base, Q for stop):"); + scanf(" %c", &auswahl1); + } while (auswahl1 != 'Q' && auswahl1 != 'q'); return 0; }