CIT-3102-past Paper 2017
CIT-3102-past Paper 2017
a) Write a C program that prints the sum of all odd integer numbers between 20 and 30.
Use for loop (5 marks)
b) Write a C program that calculates the volume of a cylinder (5 marks)
c) Describe any two repetitive structures used in programming (4 marks)
d) Explain three methods used for testing a program for errors (6 marks)