Question: please do this in C++ The last part is the int main() and the final output should be chocolate fudge. The code should start with

please do this in C++

The last part is the int main() and the final output should be chocolate fudge.

The code should start with

void func3(string s, int len){

// insert code

} please do this in C++ The last part is the int

main() and the final output should be chocolate fudge. The code should

func 3: ( 4 pts) * A) Make a function header that matches the function's declaration, above the main. The function that takes as input: * a string and * the length of the string. * The function returns: * nothing * B) Using a for loop, print out every other character in the string, * starting at the last index in the string and working back to the first * character * Point: I want to make sure you know how to use a for loop and how to * write a function's header. */ unc3(){ * write function definition here NOTE: FOR THIS FUNCTION YOU MUST FILL IN THE UNCTION'S HEADER so that it matches the function/s declaration (above main)*/ /*****************************************************/ / for func3 3/ string string2 = "speliknuweorrubs tergudeunfe cestmanlbowctoshac"; func3(string 2,47)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!