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

Guys, this is important...
There is a concept which has been ignored and not at all taken into consideration in programs.
If char ch=(char)65;
Then ch is ‘A’
With the same concept,
If char ch=(char)48;
Then ch is ‘0’( zero) and not 48!

This concept can be implied in program.One such example is as follows:
I am lazy to right the whole thing, this is just the program segment-
String m;// Input
int pos=0;
char ch;
Get the input!
l=m.length();
for(int i=0;i<l;i++)
{ ch=m.charAt(i);
   pos=(int)ch-48;
   System.out.println(pos*2);
}

If the input is “243”
Then the output should be:  4
                                                 8
                                                 6
asked by Prateek Mukherjee (prat172) 6 years ago
4
is there anyone with the most challenging programming question in computer applications?
asked by Ashutosh Dash (ashutosh_dash) 6 years ago
3
how to print this pattern?
1
232
34543
4567654
567898765
asked by Jonah Philip Aljo (jonahphilipaljo) 6 years ago
5
Any redditors on respaper?
asked by Pavan K Srinivasan (throwaway) 6 years ago
2
Q. How can you say that class is a user-defined data type?
asked by Ragini Jain (adityajain1234) 6 years ago
1

+ 1 more questions by adityajain1234  

Write a Program to accept a three lettered word and print all the probable combinations. No letter should be repeated in the output.
Sample Input:TOP
Sample Output:TOP TPO OPT OTP PTO POT
asked by Siddhant Joshi (siddhant94) 6 years ago
3
Anyone from Sinhals here?
asked by Onkar Borade (onkarborade) 6 years ago
1
section A had nothing from mole concept.......
XD
XD
X"D
8"""""D
asked by Shashwat Vyas (shashwat25) 6 years ago
1
i made the stupidest mistake in the world 
i wrote roasting instead of froth flotation
i am so dumb
asked by Mugdha Walawalkar (mugdhahemant) 6 years ago
3
Anyone having ENVIRONMENTAL SCIENCE notes or must know questions?
asked by Darshana Patil (studiousm) 6 years ago
2

<< Prev

    Page 310    

Next Page >>

ICSE chat

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