move exercises and lectures into subfolders

This commit is contained in:
2023-10-15 15:34:53 +01:00
parent 775b4bd643
commit 74092a17aa
177 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
/* EEEE1001/H61CAE Chapter 8 */
/* Example of a simple if statements */
#include <stdio.h> /* Standard include files */
#include <stdlib.h>
#include <conio.h> /* Required for getch() */
int main( void )
{
char c; /* Define an char */
c = getch(); /* Get value - no return required*/
switch (c) /* Start of switch */
{
case '1':
printf("Hi"); /* Case 1 */
case '2':
printf("Bye"); /* Case 2 */
break;
default :
printf("Err"); /* Default */
break;
}
return 0;
}