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

//this is my program to reverse the case of characters i.e. lower case to upper case and uppercase to lowercase in a string what is the error plz tell me
import java.util.*;
public class tnaminatina
{
 public void check()
  {String a="",b="";
      Scanner sc=new Scanner(System.in);
    System.out.println("enter sentence");
   String s=sc.next();
   System.out.println("enter sentence");
   String g=sc.next(); 
   System.out.println("enter sentence");
   String d=sc.next();
   a=s.concat(g);
   b=a.concat(d);
   System.out.println(b);
   b=b.toUpperCase();
   System.out.println(b);
   b=b.trim();
   for(int i=0;i96&&b.charAt(i)<=122)
     c=(char)b.charAt(i)+32;
    else
    if(b.charAt(i)>64&&b.charAt(i)<=90)
     c=(char)b.charAt(i)-32;
    }
      System.out.println(b);
   }

 
  }
asked by Adithya Kannan (adiketh198) 8 years ago
1

+ 1 more questions by adiketh198  

Kindly provide working and answer of the question in the comments section.
asked by Anvesha Mishra (learner67) 8 years ago
2

+ 1 more questions by learner67  

where can i find predict the output questions on the net?
asked by Thulluminati (asthetic31) 8 years ago
1
public class p 
{
    public static void main (String args [])
    {
       int i , a=0,j,b=0;     
       for (j=2;j<=100;j++)
       {          
       for(i=1;i<=j;i++)
        {
            if(j%i==0)  
            b=b+1;                     
    }
    if(b<=2)
     a=a+j;
}
System.out.print(a);
}
} 

program to find the sum of prime num , please correct my mistake in this !!!
asked by Hareesh Ramakrishnan (hareesh0922) 8 years ago
1

+ 2 more questions by hareesh0922  

Can anyone suggest me any theory questions plzzz...!!
asked by Phaneendra Tenneti (phaneendra12) 8 years ago
1
What's up guys ?
asked by Deleted Account (hadiq_pv) 8 years ago
2

+ 2 more questions by hadiq_pv  

which will b evaluated first..++ or () ?? in the 2015 paper, the ++ was valuated first although () has a higher precedence..can anyone explain this?
asked by Ishanuj Hazarika (ishanuj99) 8 years ago
2
Happy Easter!
asked by Won't Tell :P (some1) 8 years ago
1
99999 7777

555

33

1


How to print the pattern
asked by Anu krishna (anukrishna) 8 years ago
2
Guys do ya'll have any notes for definitions nd stuff ?? To prepare for section a
asked by Hrithesh Ramakrishnan (hrithesh23) 8 years ago
1

<< Prev

    Page 298    

Next Page >>

ICSE chat

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