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 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
question
Engineering, 04.07.2019 18:10
Water at 70°f and streams enter the mixing chamber at the same mass flow rate, determine the temperature and the quality of the exiting stream. 0 psia is heated in a chamber by mixing it with saturated water vapor at 20 psia. if both streams enters the mixing chamber at the same mass flow rate, determine the temperature and the quality of the existing system.
Answers: 2
question
Engineering, 04.07.2019 18:10
Journeyman training is usually related (clo2) a)-to specific tasks b)-to cost analysis of maintenance task c)-to control process to ensure quality d)-to installation of machinery
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, 18.03.2021 22:10
question
Mathematics, 18.03.2021 22:10