subject
Engineering, 11.10.2019 18:10 citlalli30

In c++, write a program that will input three c-strings into an array of c-strings. print only those that end in "es" or begin in "yan". use the following: char cstr[3][30]; use for loops to fill up the array and to loop through the c-strings for the searches. the input c-stirings could include spaces and multiple words. you will search two different ways. first, use a c-string function to find the length so you know where the last two characters are, then compare the last two characters separately as an array. second, use a c-string function to compare, all at once, just the first three characters in the c-string (a function similar to strcmp, but that will only compare a certain number of characters).

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
question
Engineering, 04.07.2019 18:10
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
question
Engineering, 04.07.2019 18:20
How much power could a wind turbine produce if it had the following specifications? cp = 0.45 -d=1.2kg/m3 d=50m v 5m/s
Answers: 2
question
Engineering, 04.07.2019 19:10
What are the major differences between injection molding and extrusion?
Answers: 2
You know the right answer?
In c++, write a program that will input three c-strings into an array of c-strings. print only those...
Questions
question
Mathematics, 30.08.2019 10:30
question
Mathematics, 30.08.2019 10:30
Questions on the website: 13722362