Question: Name this program two.c - This program the first string using only the characters in the second string. The function canBuild returns 1 if you

 Name this program two.c - This program the first string using

Name this program two.c - This program the first string using only the characters in the second string. The function canBuild returns 1 if you can build the first string using only the characters in the second string, and returns 0 otherwise. Write canBuild reads two strings and uses a function to determine if you can build #include #include int canBuild (char *char*) int main( void ) f char input1 [1024], input2[10241; printf(Enter a string : "); scanf("%s", input 1 ); printf("Enter another string : "); scanf("%s", input2); if canBuild(input1, input2) ) printf("You can build %s using only letters in %s ", input1, input2); else printf("You cannot build %s using only letters in %s ", inputl, input2); return 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!