Question: WRITE IN C L10.15 write a program that reads two strings of less than 100 characters and displays the longest part of the first string

 WRITE IN C L10.15 write a program that reads two strings

WRITE IN C

L10.15 write a program that reads two strings of less than 100 characters and displays the longest part of the first string that does not contain any character of the second string. For example, if the first string is example and the second one is day, the program should display mple because that part does not contain any character of day. U.10.16 Write a program that reads an integer and converts it to a string. For example, if the user enters 12345, the program should store the characters '1', "2' '3', '' and '5 into an array. U10.17 Write a program that reads two strings of less than 100 characters and displays the largest part of the first string that contains exclusively characters from the second string. For example, if the first string is programming and the second string is im, the program should display mmi. Assume that the second string contains different characters U.10.18 Write a program that reads an integer in the form of a string and converts the string into that number. For example, if the user enters the string -12345, the program should convert that string to the number -12345, assign it to a numerical variable and display it. Assume that the user enters up to 10 digits. U.10.19 To continue the previous exercise, the program should check if the input string cor- responds to a float number and assign that number to a numerical variable. For example, 298 C: From Theory to Practice if the user enters the string 12, the program should assign the number 12 to a variable. If the user enters the string -1.234 the assigned value should be -1.234

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!