Trending ▼   ResFinder  

ICSE − Q & A

ICSE
Indian Certificate of Secondary Education (ICSE), New Delhi
+Fave Message

Ask a Question

Answer a Question!

ResFinder - Thousands of Practice Papers

Provide me with some very hard program for a good mental workout and practice.
Please ,
I am providing u with one and u too please provide me some:



Take a 10 elements integer array.
Accept numbers in it from the user which can be negative or positive in the cells.
Now shift the positive numbers on the left side and the negative numbers on the right side in the same sequence as they are been provided in the array by the user.]
Now print the modified array.
Sample Input:{1,-1,2,-2,3,-3,4,-4,5,-5}
Sample Output:{1,2,3,4,5,-1,-2,-3,-4,-5}
(Note that the output can not have the sequence of the positive or negative numbers altered like the output cannot be {2,3,1,5,4,-1,-5,-3,-2,-4})
To make things a bit tough(the way my teacher made it) only 1 array can be used in the entire program.
No problem as it will never come at least in ICSE boards.
Share your tough program problems too please
asked by Rishi dey chowdhury (rishidc) 7 years ago
4

Other Questions on This Topic

When is the 2026 ICSE exam?
asked by Yogesh (yogesh) 8 days ago
0

+ 3 more questions by yogesh  

https://www.respaper.com/
asked by Sujata Kundu (mumpi_1989) 213 days ago
0

+ 3 more questions by mumpi_1989  

i'm unable to download papers
asked by Tsa (rajpurohit14) 304 days ago
1
Class 9 final question paper
asked by Armaan Mandal (arms10) 328 days ago
0
How to contact respaper
asked by Insha Naz Fatima (sarahmeh) 351 days ago
1

+ 2 more questions by sarahmeh  

8th Icse question papers
asked by Aparna Narayan (aparna1974) 1 year ago
1
What's up people? Does anyone I know ever visit this place? If yes please just hit me up with a "hi" I would love to chat haha... Take care everyone :))
asked by Anshika Jaiswal (anshika28) 1 year ago
4
I've got an endsem exam in an hour but all I am doing is reading old threads on res. 🥲
asked by Nisarg Bhavsar (nisarg71) 1 year ago
3
Hlooo..itzz been longgg...ICSE 2018 batch anybody??
asked by Snigdha (silver2002) 1 year ago
3

Next Page >>

ICSE chat

© 2010 - 2025 ResPaper. Terms of ServiceContact Us Advertise with us