Engineering
Engineering, 13.11.2019 05:31, live4dramaoy0yf9

Case insensitive string compare: [40 marks/ write a function that compares two strings while ignoring the case of alphabetical characters. your program will take two strings as input from the user and use your function to compare them. assume a maximum c-string size of 1000 characters. make sure your code works for any input number, not just the test cases. your code will be tested on other test cases not listed here. properly comment your code before submission for this part of the assignment, name your source file as string compare_wsuid. cpp. for example, if your user id is a999b999 name your file as string compare_a999b999.cpp. sample test cases: test case 1: input: first string: hello world second string: hello world test case 2: input: first string: 5 apples second string: 5 apples output: strings are the same output: strings are the same test case 3: input: first string: 5 apples second string: 6 apples test case 4: input: first string: hello world second string: how are you? output: strings are not the same output: strings are not the same

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 14:10, kayabwaller4589
When at a point two solid phase changes to one solid phase on cooling then it is known as a) eutectoid point b) eutectic point c) peritectic point d) peritectoid point
Answers: 3
image
Engineering, 03.07.2019 15:10, brooklyn674
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
image
Engineering, 04.07.2019 18:20, maciemarklin79981
A3-mm-thick panel of aluminum alloy (k 177 w/m-k, c 875 j/kg-k and ? = 2770 kg/m) is finished on both sides with an epoxy coating that must be cured at or above t,-150°c for at least 5 min. the production line for the curing operation involves two steps: (1) heating in a large oven with air at ts,0-175°c and a convection coefficient of h, 40 w/m2. k, and (2) cooling in a large chamber with air at 25°c and a con- vection coefficient of he 10 w/m2.k. the heating portion of the process is conducted over a time interval te which exceeds the ime required to reach 150°c by 5 min (h = r + 300 s). the coating has an emissivity of ? = 0.8, and the temperatures of the oven and chamber walls are 175 and 25°c, respectively. if the panel is placed in the oven at an initial temperature of 25°c and removed from the chamber at a safe-to-touch tempera ture of 37°c, what is the total elapsed time for the two-step curing operation?
Answers: 3
image
Engineering, 04.07.2019 19:10, ultimateapes
When subject to a steady load (within elastic range) over a long period of time, what is the major difference in material behavoir between steel and plastic?
Answers: 2
Do you know the correct answer?
Case insensitive string compare: [40 marks/ write a function that compares two strings while ignori...

Questions in other subjects: