Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

My question is #24 from the text book An Introduction to Programming with C++ (8th edition) by Diane Zak. Ive included a picture of the

My question is #24 from the text book An Introduction to Programming with C++ (8th edition) by Diane Zak. Ive included a picture of the problem and the program it references. Please edit the referenced program, not make a complete new one. Thanks.
image text in transcribed
image text in transcribed
program appropriately ry, create a new project named Intermediate23 Project and save it in sa pchap13 folder. Also create a new source file named Intermediate23, cpp. Writ a program that display user. All s the color of the item whose item number is entered item numbers contain exactly seven characters. All items are available colors: blue, green, red, and white. The fourth character in the item number ind the item's color, as follows: a B or b indicates Blue, a G or g indicates Green, a indicates Red, and a W or w indicates White. If the item number does not conta exactly seven characters, or if the fourth character is not one of the valid color icate reen, an R or r characters, the program should display an appropriate message. Use a sentinel value end th to owin e program. Save and then run the program. Test the program using the foll item nun and 111k456 24. In this exercise, you modify the Social Security Number program from the chapter. 1 necessary, create a new project named Intermediate24 Project and save it in the Cpp8 Chap13 folder. Enter the instructions from Figure 13-22 into a source file named Intermediate24.cpp. Change the filename in the first comment. the missing hyphens, verify that the nine characters entered by the user are numeric. Save and then run and test the program. Before inserting If necessary, create a new project named Intermediate25 Project and save it in the Cpp81Chap13 folder. Also create a new source file named Intermediate25.cpp. Writ 9 program that accepts a string of characters from the user. The program should display characters in reverse order. In other words, if the user enters the string "Programming program should display "gnimmargorP": Save and then run and test the program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions