28th Aug 2021, 9:03 AM
TeaserCode
18 Respuestas
+ 2
Thanks, see next time. Good luck
28th Aug 2021, 11:44 AM
TeaserCode
+ 1
why ur injecting args to main
28th Aug 2021, 9:13 AM
Vtec Fan
Vtec Fan - avatar
0
Why the vector header?
28th Aug 2021, 9:17 AM
Vtec Fan
Vtec Fan - avatar
0
What is the aim of the program
28th Aug 2021, 9:23 AM
Vtec Fan
Vtec Fan - avatar
0
As you certanly see, I try to print the odd element of array. I try it with bool function. Bool function output condition as true as it must be. But when I try call it in void fun. it is not as it is considered.
28th Aug 2021, 9:27 AM
TeaserCode
0
Then why r u counting
28th Aug 2021, 9:30 AM
Vtec Fan
Vtec Fan - avatar
0
Make a function for number and try Ok i will show you
28th Aug 2021, 9:30 AM
Vtec Fan
Vtec Fan - avatar
0
This can do even I. What about if you have an array; for example with 5 elements. Then you are looking for outlier between odd and even numbers. In array there is only one element which can be odd or even the rest are opposite. You have to find and print it.
28th Aug 2021, 10:06 AM
TeaserCode
0
Do you know how to make it?
28th Aug 2021, 10:29 AM
TeaserCode
0
Yeah i can do it But didn't understand
28th Aug 2021, 10:33 AM
Vtec Fan
Vtec Fan - avatar
0
Can I give you some advice?
28th Aug 2021, 10:40 AM
TeaserCode
0
Ok
28th Aug 2021, 10:41 AM
Vtec Fan
Vtec Fan - avatar
0
Is my procedure correct?
28th Aug 2021, 10:41 AM
TeaserCode
0
This can do even I. What about if you have an array; for example with 5 elements. Then you are looking for outlier between odd and even numbers. In array there is only one element which can be odd or even the rest are opposite. You have to find and print it. Explain this
28th Aug 2021, 10:42 AM
Vtec Fan
Vtec Fan - avatar
0
There is an array: int arr[]={1,3,4,5}; Because 4 is the only even number, so it is outlier. Your goal is to find and print it.
28th Aug 2021, 10:53 AM
TeaserCode
0
Will you send me solution?
28th Aug 2021, 11:35 AM
TeaserCode
0
Ok but after some time😉
28th Aug 2021, 11:36 AM
Vtec Fan
Vtec Fan - avatar