Usetutoringspotscode to get 8% OFF on your first order!

  • time icon24/7 online - support@tutoringspots.com
  • phone icon1-316-444-1378 or 44-141-628-6690
  • login iconLogin

In this exercise, you modify the program from ADVANCED Exercise 29. If necessary, create a new…

In this exercise, you modify the program from ADVANCED Exercise 29. If necessary, create a new project named Advanced30 Project and save it in the Cpp8Chap13 folder. Also create a new source file named Advanced30.cpp. Copy the C++ instructions from the Advanced29.cpp file into the Advanced30.cpp file. Research the C++ compare function. Modify the program to use the compare function. Save and then run the program. Test the program appropriately

Exercise 29

Follow the instructions for starting C++ and viewing the Advanced29.cpp file, which is contained in either the Cpp8Chap13Advanced29 Project folder or the Cpp8Chap13 folder. (Depending on your C++ development tool, you may need to open the project/ solution file first.) If necessary, delete the two forward slashes that appear before the #include directive, and then save the program. The program assigns the letters of the alphabet to a string variable named letters. It also prompts the user to enter a letter. Complete the program by entering instructions to perform the tasks listed in Figure 13-35. Save and then run the program. Test the program appropriately.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes