Fundamentals of Programming. Unit 4.
Title.
If statement.
Adding else to the if statement.
The syntax of an if...else if...else statement.
Switch statement.
Exercise 1: ECTS grading scale.
Exercises 2&3: Write a C program...
The continue and break statements.
The concept pf functions in C.
Locality of variables within a function.
Example #1.
Random numbers, rand().
Generating random number in a range.
Monte Carlo method.
Recursivity of functions.
Go back to Main Menu
Last Updated 05 Oct, 2018. <vadimov@i.ua>