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

Write a program to accept numbers in a single dimensional array of size ‘N’. Create another string array of size ‘N-1’ to accept valid mathematical symbols like (+, -, /, %, *…). Calculate and display the result by performing the operations by using the symbols stored in the string array on the values stored in the integer array.

Example: 
 
int Arr[]={1,2,3,4}
String Sym[]={“+”,”/”,"*”} 
The result is 4. ((1+2)/3)*4 

HELP!!
asked by Shreya Bhagat (hermione02) 6 years ago
1
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) 6 years ago
4

+ 3 more questions by rishidc  

Catch on to fire if you must,sometimes everything needs to burn to the ground so that we may grow.
asked by Pranav Ajinkya (narutorocks7) 6 years ago
2
Could someone please provide me with an example of pure and impure functions that I could write if asked?
asked by Gargie D'souza (gar_d02) 6 years ago
1

+ 1 more questions by gar_d02  

into x=2,y=50;
do
{
++x;
y=y-x++;
}while(x<=10);
return y;
asked by Abhinav Sharma (monstercat) 6 years ago
1

+ 1 more questions by monstercat  

I recently realized that 'System.out.println()' is a great example of function overloading.
asked by Shreyas Minocha (shreyasminocha) 6 years ago
3

+ 2 more questions by shreyasminocha  

What's the use of static guys?
asked by Leander Vikram (eldiablo0829) 6 years ago
3
guys watch this till end i assure u it will not waste ur time 
https://www.youtube.com/watch?v=dqTTojTija8
asked by Rtstud (mdarfath) 6 years ago
2

+ 2 more questions by mdarfath  

Not exam related:












Does anyone watch South Park?
asked by Pavan K Srinivasan (throwaway) 6 years ago
0
Guys all of you must have faced the problem of printing a particular array as it requires the user to type out another for loop which is time consuming tedious and boring
heres a trick but u ll have to import java's utilility package by import java.util.*
just say u wanna print array named arr
type :- System.out.println(Arrays.toString(arr));
the output is like this : [a,b,c,d] try this one out
asked by ⚡The Flash⚡ (devanshu8) 6 years ago
2

<< Prev

    Page 78    

Next Page >>

ICSE chat

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