1. Engineering
  2. Computer Science
  3. hello this is for programming with c please help me...

Question: hello this is for programming with c please help me...

Question details
Hello, this is for programming with C++. Please help me with the below question. Thank you very very much!

8. C++ Basics (a) Write the lines of code needed to declare a string object named holiday, assign Valentines Day to it, and use the results from a search for the substring Day to print out this substring from holiday. You must use find and substr correctly in your solution. (2 points) (b) Write the lines of code needed to define a struct named StudentRec with fields for name, age, & spa, declare a variable of type StudentRec, and assign a value to each field of it. (2 points)
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution