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
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 18:20
Atank with constant volume contains 2.27 kg of a mixture of water phases (liquid-vapor). in the initial state the temperature and the quality are 127 °c and 0.6, respectively. the mixture is heated until the temperature of 160 oc is reached. illustrate the process in a t-v diagram. then, determine (1) the mass of the vapor in kg at the initial state, (2) the final pressure in kpa.
Answers: 3
question
Engineering, 04.07.2019 19:10
Which of the following is the most important advantage of a large field of view? a. allows larger areas to be examined b. relieves eyestrain c. minimizes parallax errors. d. increases precision in proportion to the in- crease in field of view
Answers: 2
question
Engineering, 04.07.2019 19:10
A)-explain briefly the importance of standards in engineering design. b)- what is patent? c)-explain the relationship between these standards: b.s. and b.s.en d)- in engineering design concepts, types of loads and how they act are important factors. explain.
Answers: 3
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
Arts, 14.05.2021 02:50
question
Mathematics, 14.05.2021 02:50
question
Mathematics, 14.05.2021 02:50
question
Biology, 14.05.2021 02:50
question
Mathematics, 14.05.2021 02:50
Questions on the website: 13722361