subject
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

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:20
Asimple rankine cycle uses water as the working fluid. the water enters the turbine at 10 mpa and 480c while the condenser operates at 6 kpa. if the turbine has an isentropic efficiency of 80 percent while the pump has an isentropic efficiency of 70 percent determine the thermal efficiency
Answers: 1
question
Engineering, 04.07.2019 18:20
Air flows over a heated plate àt a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point.the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
You know the right answer?
Case insensitive string compare: [40 marks/ write a function that compares two strings while ignori...
Questions
question
English, 07.09.2020 05:01