Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago