Intro To Programminng
Intro To Programminng
ii. Give three operational differences between the compiler and interpreter.
[6 marks]
e) There are basically three types of errors in writing computer programs. State and explain
these errors. [6 marks]
i. Object code
ii. Debbuging
iii. Compiles
iv. Computer program
1
Question Two – 20 Marks
b) Write a C programming that will output the following line of text “welcome to C
programming”. [8 marks]
c) Explain the difference between the while loop showing the difference in their syntax.
[6 marks]
#include std10.h
Int numbers
PrintF(“enter an integer number”)
ScanF (“%” C number.
/C number <100
PrintC “your number is smaller than two”
Else print F (“your number contains more than two digits.)