Question: b) Write C++ statements to perform these individual tasks: i) Assign t with the length of string stored in char dessert [30] and then display

 b) Write C++ statements to perform these individual tasks: i) Assign

b) Write C++ statements to perform these individual tasks: i) Assign t with the length of string stored in char dessert [30] and then display the square value of the length. (1 mark) ii) To test if x is divisible by 3. (1 mark) ii) Interactively store 10 course names and display them using a single variable string courseName. (1 mark) iv) To check if two strings (char awak [10] and char saya [10]) have the same value. (1 mark)

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!