Question: Write a C program that reads a string containing text and nonnegative numbers from the user and prints out the numbers contained in the string

Write a C program that reads a string containing text and nonnegative numbers from the user and prints out the numbers contained in the string in separate lines. For example, if the input is: The year has 365 days and the day has 12 hours Then the output will be: 365 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
