bogdan2004333

Untitled

Jan 2nd, 2023
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.44 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <locale.h>
  4. #include <stdbool.h>
  5. #include "dic.h"
  6.  
  7. int main() {
  8.     setlocale(0, "");
  9.     bool isInteractive = false;
  10.     char moding[20] = "i";
  11.     char function[20];
  12.     scanf("%s", function);
  13.     if (strcmp(moding, function) == 0) {
  14.         isInteractive = true;
  15.     }
  16.  
  17.     if (isInteractive) {
  18.         return interactive();
  19.  
  20.     } else {
  21.         return demo("health");
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment