Ask a Question | Answer a Question! |
![](/img/l.gif)
Submitting your question...
ResFinder - Thousands of Practice Papers
Anyone please give tips for biology......... I mess it up everytime |
![](//pl.respaper.com/64/anweshadas71.jpg) |
asked by Anwesha Das (anweshadas71) 6 years ago |
2 |
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 |
![](//pl.respaper.com/64/prat172.jpg) |
asked by Prateek Mukherjee (prat172) 6 years ago |
4 |
is there anyone with the most challenging programming question in computer applications? |
![](//pl.respaper.com/64/ashutosh_dash.jpg) |
asked by Ashutosh Dash (ashutosh_dash) 6 years ago |
3 |
how to print this pattern?
1
232
34543
4567654
567898765 |
![](//pl.respaper.com/64/jonahphilipaljo.jpg) |
asked by Jonah Philip Aljo (jonahphilipaljo) 6 years ago |
5 |
Q. How can you say that class is a user-defined data type? |
![](//pl.respaper.com/64/adityajain1234.jpg) |
asked by Ragini Jain (adityajain1234) 6 years ago |
1 |
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 |
![](//pl.respaper.com/64/siddhant94.jpg) |
asked by Siddhant Joshi (siddhant94) 6 years ago |
3 |
Anyone from Sinhals here? |
![](//pl.respaper.com/64/onkarborade.jpg) |
asked by Onkar Borade (onkarborade) 6 years ago |
1 |
section A had nothing from mole concept.......
XD
XD
X"D
8"""""D |
![](//pl.respaper.com/64/shashwat25.jpg) |
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 |
![](//pl.respaper.com/64/mugdhahemant.jpg) |
asked by Mugdha Walawalkar (mugdhahemant) 6 years ago |
3 |