Tutorial 2
Tutorial 2
c) A window asked to Choose options for your new project will appear. Write
your Product Name as helloworld and make sure Language use is C. Click
Next
d) You need to choose folder. Select Documents as your folder.
e) Copy the provided code above. Save your file. It will save as main.c.
a) In a new working directory, create a new file myfile.c and copy the
following code:
d) Observe the output and ensure that all the errors are fixed.
e) Can you tell what type of errors you’ve detected in the code before?
4) Exercise 2
a) In a new working directory, create a new file exercise2.c and copy the
following code:
b) Compile and execute the code and observe the output.
5) Exercise 3
c) Does it give the correct output? If no, fixed the program to give the correct
one.
d) Explain the observation?