Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
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