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 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:10
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
For the closed feedwater heater below, feedwater enters state 3 at a pressure of 2000 psia and temperature of 420 °f at a rate of ix10 ibhr. the feedwat extracted steam enters state 1 at a pressure of 1000 psia and enthalpy of 1500 btu/lbm. the extracted er leaves at an enthalpy of 528.7 btu/lbm steam leaves as a saturated liquid. (16) a) determine the mass flow rate of the extraction steam used to heat the feedwater (10) b) determine the terminal temperature difference of the closed feedwater heater
Answers: 3
question
Engineering, 04.07.2019 18:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
You know the right answer?
Case insensitive string compare: [40 marks/ write a function that compares two strings while ignori...
Questions
Questions on the website: 13722362