Write a program to read a sentence and obtain the following info: a. Total number of characters excluding spaces. b. Number of words. c. Average number of characters per word. |
|
asked by Anushka K (anonymoususer) 6 years ago | |
3 | |
Can someone tell me what an orphaned case is? And what type of error it is? |
|
asked by Kanyaka Samantara (btslover) 6 years ago | |
2 |
Compare local,instance and class variables on the given criterion : number of copies for each of them in a class |
|
asked by Nehal G (nehalg) 6 years ago | |
1 |
Program: Store ten numbers in array X and array Y respectively. Shift all the even numbers from X and Y in an array E and all the odd numbers from X and Y into another array D. Finally print the elements from E and D array......Please help me with this program.. |
|
asked by Priyanka Singhal (hemang32) 6 years ago | |
1 |
what is the audible bell(computer applications) |
|
asked by Rick Biswas (rick1234) 6 years ago | |
1 |
Do we need to describe the variables for the class program( the very first programme)?? variables and method are already described there... |
|
asked by Sameed Hussain (sameed) 6 years ago | |
2 |
Re write using for loop int m=100; while(true) { System.out.println(m/2); m-=10; if(m%4==0)break; } Is this answe valid: boolean v=true; for(int m=100;v==true;m-=10) { System.out.println(m/2); v=(m%4==0)?false:true; } |
|
asked by Ashutosh Dash (ashutosh_dash) 6 years ago | |
2 |
Whats the output:- s1 = "ABC"; s2 = "ABCD"; int n = s2.compareTo(s1); System.out.println(n); |
|
asked by Ragini Jain (adityajain1234) 6 years ago | |
3 | |
The Java keyword which is used to convert a variable into constant?? Is it final or is it static |
|
asked by Jeff mckinley (chende) 6 years ago | |
5 |
// Copy this code in BlueJ and be amazed! public class Wow { public static void main(String[] args) throws Exception { int a=10,b=0,c=10; String s1="TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBLOFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm SOn TNn ULo0ULo#ULo-WHq!WFs XDt!"; a=s1.charAt(b); while (a != 0) { if (b < 170) { a = s1.charAt(b); b++; while (a > 64) { a--; if (++c=='Z') { c/=9; System.out.print((char)(c)); } else System.out.print((char)(33 ^ (b & 0x01))); } } else break; } } } //STRICTLY NOT FOR EXAMINATION PURPOSES! |
|
asked by RaBh (rahulbhardwaj2002) 6 years ago | |
7 |
Page 516 |
ICSE chat