Question: a) Briefly explain THREE (3) operations needed to control the loop structure. b) Differentiate between local and global variable applied in C++ program. (3 marks

a) Briefly explain THREE (3) operations needed to control the loop structure. b) Differentiate between local and global variable applied in C++ program. (3 marks (3 marks c) Translate the following into C++ statement. i) Declare a string variable and get input for student's name. ii) Declare constant variable as float data type and initialized with value 3.142. iii) Declare a variable as char and initialized with 'a'. iv) Declare an array to store 10 integers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
