0% found this document useful (0 votes)
8 views1 page

CWD Programming Question 1

Uploaded by

Eugene Mbah Tebo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

CWD Programming Question 1

Uploaded by

Eugene Mbah Tebo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

QUESTION

1. Define the following concepts in C Programming


a) Compiler
b) Keywords
c) Constant
d) Variables (1mk x 4)

2. i) Distinguish between and Algorithm and a Flowchart (2mks)


ii) Write a pseudo code to find the Maximum of 3 numbers (2mks)

3. Differentiate between Syntax errors and run-time errors. (2mks)

4. To find the Simple Interest of a given Amount, the Principal Amount is multiply by the length of time in
years and the Rate in percentage per year.

Write a C program to find the Simple Interest for a given Principal Amount, Time and Rate (5mks)

You might also like