Question: Write a c++ Program only use Char array and loop and if/else condition.. don't use interception or vector because i am beginner so make program
Write a c++ Program only use Char array and loop and if/else condition.. don't use interception or vector because i am beginner so make program only beginner level. and only use one function #include iostream

Task 1: Write a program to input 10 or less numbers in an array and then rearrange an array in alternative positive and negative numbers Example: 5 numbers are input Input: {1, 2, 3, -4, -1, 4} Output: {-4, 1,-1, 2, 3, 4} 10 numbers are read Input: {-5, -2, 5, 2, 4, 7, 1, 8,0,-8} output: {-5, 5, -2, 2, -8, 4, 7, 1,8, 0}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
