Programing C Ask for the full name of a single person. The guidelines are: • First ask the user for an estimate of how large the name will be. • Second, ask the user for the full name in one single line. Third, ensure the full name doesn't surpass the length given in step 1. If it does, stop the scanning of the name, assign the null character to the last element in the string and display a message to the user. • Fourth, print out the full name. Make sure white spaces are included. • Your program should at least have one more function besides main. Example of the output: What is the estimated length of the Full Name? 11 Please input the Full Name: Kyle Smith Full Name is: Kyle Smith What is the estimated length of the Full Name? 8 Please input the Full Name: Kyle Smith The length of your string has reached the max length. Try again with a larger length. Full Name is: Kyle Sm

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Programing C
Ask for the full name of a single person. The guidelines are:
• First ask the user for an estimate of how large the name will be.
• Second, ask the user for the full name in one single line.
Third, ensure the full name doesn't surpass the length given in step 1. If it does, stop the
scanning of the name, assign the null character to the last element in the string and display a
message to the user.
• Fourth, print out the full name. Make sure white spaces are included.
• Your program should at least have one more function besides main.
Example of the output:
What is the estimated length of the Full Name? 11
Please input the Full Name: Kyle Smith
Full Name is: Kyle Smith
What is the estimated length of the Full Name? 8
Please input the Full Name: Kyle Smith
The length of your string has reached the max length. Try again with a larger length.
Full Name is: Kyle Sm
Transcribed Image Text:Programing C Ask for the full name of a single person. The guidelines are: • First ask the user for an estimate of how large the name will be. • Second, ask the user for the full name in one single line. Third, ensure the full name doesn't surpass the length given in step 1. If it does, stop the scanning of the name, assign the null character to the last element in the string and display a message to the user. • Fourth, print out the full name. Make sure white spaces are included. • Your program should at least have one more function besides main. Example of the output: What is the estimated length of the Full Name? 11 Please input the Full Name: Kyle Smith Full Name is: Kyle Smith What is the estimated length of the Full Name? 8 Please input the Full Name: Kyle Smith The length of your string has reached the max length. Try again with a larger length. Full Name is: Kyle Sm
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education