Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Using Sentinel check the first Positive position of elements in an array if nothing is found return -1;

0 votes
asked Mar 23, 2018 by Zxeesxzc Ceed (120 points)
Using C++. I'm still a beginner.

I have spent over an hour rewriting this crap, and I'm not sure I understand how to use a Sentinel.

Thanks for helping/reading.

1 Answer

0 votes
answered Mar 24, 2018 by anonymous

Can you share more context of statement problem you are dealing with?
As per me, Sentinel is not C++ language terminology.

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...