Answered step by step
Verified Expert Solution
Question
1 Approved Answer
*** C code please not C++*** 1) Write a C program in Code::Blocks that: Prompts a user to enter a string Reads an input string
***C code please not C++***
1) Write a C program in Code::Blocks that: Prompts a user to enter a string Reads an input string up to 50 characters long from a user entering input on the terminal Prints out to the terminal "You entered: "followed by the full string the user entered. On the next line, print out "Numbers: "followed by all the numbers that were entered by the user in consecutive order. Do not print out any spaces, letters, or punctuation On the next line, print out "Letters: "followed by all the letters that were entered by the user in consecutive order. Do not print out any spaces, numbers, or punctuation. On the next line, print out "Punctuation: "followed by all the punctuation that were entered by the user in consecutive order. Do not print out any spaces, letters, or numbers. For an input of".3743saa823sd.!!32AS2!" the output should be: You entered: A.3743saa823sd.!!3?AS2! Numbers: 374382332 Letters: AsaasdAS Punctuation: ..!!?! You should test your program with more than just this inputStep 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