Question: Need help with this. C++ Programming c) Write a C++ statements that prompt the user to enter P. Ramlee. If the string comparison value by


Need help with this. C++ Programming
c) Write a C++ statements that prompt the user to enter P. Ramlee. If the string comparison value by using predefined function of character array is equal, then print out the statement Ali Baba Bujang Lapok. The sample output is as illustrated in Figure 4. Enter name: P. Ramlee Ali Baba Bujang Lapok Figure 4 (3 marks) Declare a variable as a constant double. Assign value 3.95 to the constant variable. (2 marks) d) e) Declare a light 30n variable to hold the true value. (2 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
