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, 03.07.2019 19:30
When using the ohmmeter function of a digital multimeter, the leads are placed in what position relative to the component being tested? a. parallel b. control c. series d. line
Answers: 3
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
question
Engineering, 04.07.2019 18:20
Wiy doeres rere okhn a pump whon working betwon the same pressure range?
Answers: 2
question
Engineering, 04.07.2019 19:20
Air enters a horizontal, constant-diameter heating duct operating at steady state at 290 k, 1 bar, with a volumetric flow rate of 0.25 m°/s, and exits at 325 k, 0.95 bar. the flow area is 0.04 m2. assuming the ideal gas model with k = 1.4 for the air, determine (a) the velocity at the inlet and exit, each in m/s, and (c) the rate of heat transfer, in kw flow rate, in kg/s, (b) the mass kg 0.3
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, 06.04.2020 00:17
question
Computers and Technology, 06.04.2020 00:17
question
Mathematics, 06.04.2020 00:18
question
Mathematics, 06.04.2020 00:18
Questions on the website: 13722360