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

import java.util.*;
class isogram
{
    public static void main()
    {
        Scanner ayush=new Scanner (System.in);
        System.out.println("Enter a string");
        String s=ayush.nextLine();
        s=s.toUpperCase();String w="";String s1="";char ch1,ch2;int f=0;
        
        s=s+' ' ;
        int l=s.length();
        for(int i=0;i<l;i++)
        {
            char ch=s.charAt(i);
            if(ch==' ')
            {
                for(int j=0;j<w.length();j++)
                {ch1=w.charAt(j);
                    for(int k=j+1;k<w.length();k++)
                    {ch2=w.charAt(k);
                       if(ch1==ch2)
                       f++;}
                       if(f>0)
                       continue;
                       else
                       s1=s1+w+" ";
                    }}
                  else
                  w=w+ch;
                  w="";}
                  System.out.println("the stirng after manipulationm"+s1);}}

can u guys helps me with his program it is the answer to rikhil question 
i m not getting any syntax error but still no output
asked by Ayush Agarwal (qwertyuiop12345678901234567890) 5 years ago
4
Ok I got confused here..
Is if-else-if construct same as 'nested-if' or is the same as that 'if-elseif-else' ??
asked by Sahaj Shah (eternityseeker) 5 years ago
2
Are you in support with Tamil Nadu government that they are banning Tik Tok
asked by (godblessme20) 5 years ago
5

+ 1 more questions by godblessme20  

Lol...Found this on a site
Meaning of ICSE-"I Can't Stand Education".
Meaning of ISC  -"I Still Can't".
Pretty funny isn't it.
asked by Sanjay (sanjay673) 5 years ago
2
Compare a class as a user defined datatype and class as an application?
Ans: In Java, all functionality is enclosed in classes. But in order for a class to be user-defined datatype, it should be act different from that of an application. i.e. it should not include main() method in it. Although we can create instance of classes containing main method, they should not be referred to as used-defined datatype. Such classes (containing main() method) are more analogues to application than a datatype
asked by Tubhyam Mehta (tirth7683) 5 years ago
1
trillion dollar question: whats the difference between Math.rint() and Math.round() in terms of functionality( I know that rint returns floating-point and round returns int;)
asked by Jeevan Kumar (jeevanms) 5 years ago
2
any PE student here?
asked by Shriya (psm09) 5 years ago
2
Can we attempt extra  program for Computer?
asked by Bitthal Maheshwari (bitthal04) 5 years ago
4
Write a program to accept a sentence from the user and convert it into uppercase and display the isogram words available in the sentence and also display the count of such words. Isograms are the words without the repetition of characters. 
Sample Input: An apple a day keeps the doctor away 
Sample Output:  AN A DAY THE 
More concerned about the extraction and operation on the words. A pretty simple problem here, expecting an answer soon. 
Thanks.
asked by Rg (rikhil32) 5 years ago
5
I've got a pretty challenging program. This is for those who want goo ones and want to blow the rust off of their brains. So, if anyone is saying that this shit is outta syllabus, they'll earn a dislike from me.

WAPIJ to make the following pattern for a certain number input by the yser.
input- 4
    a
   a b
  c e h
 m u u m
  h e c 
   b a
    a
Explicitly mention the logic. I created this question and I know the logic, but when I make it into a code, Bluej keeps on printing infinite spaces. You are not allowed to use more than four functions.
asked by Mr. Mathematics (aditya_bandaru) 5 years ago
1

<< Prev

    Page 176    

Next Page >>

ICSE chat

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