Partially changed file structure to suit VSCode
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* EEEE1001/H61CAE Chapter 8 */
|
||||
/* MMME3085 Chapter 8 */
|
||||
|
||||
/* Example of a simple if statements */
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
int main( void )
|
||||
{
|
||||
|
||||
int x = 55; // Define and intialise variable
|
||||
int x = 3; // Define and intialise variable
|
||||
|
||||
|
||||
if ( x == 2 )
|
||||
@@ -1,4 +1,4 @@
|
||||
/* EEEE1001/H61CAE Chapter 8 */
|
||||
/* MMME3085 Chapter 8 */
|
||||
|
||||
/* Incorrect use of a single equals sign in an if statement */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* EEEE1001/H61CAE Chapter 8 */
|
||||
/* MMME3085 Chapter 8 */
|
||||
|
||||
/* Example of a simple if statements */
|
||||
|
||||
@@ -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 */
|
||||
{
|
||||
Reference in New Issue
Block a user