Question: (3 mark c) Translate the following into C++ statement. i) Declare a string variable and get input for student's name. ii) Declare constant variable as

 (3 mark c) Translate the following into C++ statement. i) Declare

(3 mark 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. ii) 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!