Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program to enter a student's name form a keyboard, check if the name is Sara Smith. In you program you should have

image text in transcribed

Write a C++ program to enter a student's name form a keyboard, check if the name is "Sara Smith". In you program you should have the following functions: 1. A function called "enter_name", this function prompts the user to enter student's name and returns the input. true if the name is "Sara Smith" and false if not. 3. A function called "display_result", this function passes the returned value from "check name" function and return "MATCHED" or "NOT MATCHED" Sample of the outpu Enter Your Name: Sara Smith MATCHED .1 1-1 1-11-1.1-1.1-1 :'1-1-1-1 1-1 1-1.1-1-1-1-1-1-1-1-1.1-1.1 1-1 1-1 1-1.1-1.1-1.1-11.1-1 Sample of the output2: Enter Your Name: Sara Lee NOT MATCHED

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago