Question
Given the following starter code: #include /* function declarations - CS 50 Students need to implement this function */ /* from the string argument, it
Given the following starter code:
#include
int main () {
/* a string to hold 100 characters */ char data[ 100 ]; int value; printf( "Please enter your name: " ); fgets( data, 100, stdin );
/* or alternatively if you are using a Mac... */ /* #include
SAMPLE RUN
Please enter your name: Howard Stahl name passed all validation rules!
Please enter your name: 124%%$ 1347DD name has numbers, not only letters...
Please enter your name: howard stahl name does not start with a capital letter...
Please enter your name: (*&)_#$% name has non-alphanumeric characters...
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started