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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!