Partially changed file structure to suit VSCode

This commit is contained in:
Louise Brown
2022-10-24 14:01:59 +01:00
parent 1c0a9e7b6a
commit a2c8695634
29 changed files with 30 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
/* EEEE1001/H61CAE Chapter 8 */
/* MMME3085 Chapter 8 */
/* Example of a simple if statements */

View File

@@ -11,7 +11,7 @@
int main( void )
{
int x = 55; // Define and intialise variable
int x = 3; // Define and intialise variable
if ( x == 2 )

View File

@@ -1,4 +1,4 @@
/* EEEE1001/H61CAE Chapter 8 */
/* MMME3085 Chapter 8 */
/* Incorrect use of a single equals sign in an if statement */

View File

@@ -1,4 +1,4 @@
/* EEEE1001/H61CAE Chapter 8 */
/* MMME3085 Chapter 8 */
/* Example of a simple if statements */

View File

@@ -12,7 +12,7 @@ int main( void )
{
char c; /* Define an char */
c = getch(); /* Get value - no return required*/
c = getch(); /* Get value */
switch (c) /* Start of switch */
{