Here is the code in C.
#include <stdio.h>
#include <string.h>
//main function
void main()
{
// character array to store the string
char str[1000];
int len,i,j;
char c,ch;
printf("Please Enter a string: ");
// read the string
gets(str);
// find the length of input string
len = strlen(str);
for(i=0;i<len;i++)
{
c=str[i];
// if any character of string is digit then it will check
// until it finds the next non-digit character
if(c>='0' && c<='9')
{
for(j=i;j<len;j++)
{
ch=str[j];
if(ch>='0' && ch<='9')
//print the number in the string
printf("%c",str[j]);
else
{
printf(" ");
i=j;
break;
}
}
}
}
}
Explanation:
First it ask user to input a string and store that string into character array.Then travers the array and find first digit character.If a digit is found then print that digit.After that in the inner for loop, check next character is digit or not, if a digit meets then print that digit.Repeat this until the next non-digit character founds.When a non-digit character meets print a space and update the value of "i" and break the inner loop.It will again check the same from the ith index in the character array.
Output:
Please Enter a string: The year has 365 days and the day has 12 hours
365 12
Answer: A) The force new page property
The answer is for this question is false
The engineering design process important to the customer layout system permits things: A shared technique on a way to discover and remedy problems. A framework to assess ideas, tell priorities and save you myopic paintings.
<h3>What is the maximum vital step withinside the engineering layout system?</h3>
The first step withinside the engineering layout system is to outline the trouble that you are solving. This step is the maximum vital, as a defective know-how of the trouble handy ends in layout failures. Engineers paintings to discover the foundation trouble via way of means of opposite engineering the signs and symptoms they perceive.
The engineering layout system, via way of means of definition, is a sequence of steps that engineers use to discover an option to a trouble. These steps include: defining the trouble, brainstorming solutions, designing and constructing a prototype of the solution, trying out the solution, and enhancing it.
Read more bout the engineering :
brainly.com/question/17169621
#SPJ1