Ask a Question  | Answer a Question!  | 

 Submitting your question... 
 
 
ResFinder - Thousands of Practice Papers
question in link 
http://www.respaper.com/sarthakb/5348-pdf.html Question 8
its difficult giving lots of errors  | 
  | 
| asked by Adithya Kannan (adiketh198) 9 years ago  | 
2  | 
 + 2 more questions by adiketh198    
//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) 9 years ago  |  
1  |  
 
where can i find predict the output questions on the net?  | 
  | 
 
| asked by Thulluminati (asthetic31) 9 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) 9 years ago  |  
1  |   + 2 more questions by hareesh0922    
anyone correct my program below  | 
  | 
 
| asked by Hareesh Ramakrishnan (hareesh0922) 9 years ago  |  
0  |  
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) 9 years ago  |  
2  |  
 
 
Can anyone suggest me any theory questions plzzz...!!  | 
  | 
 
| asked by Phaneendra Tenneti (phaneendra12) 9 years ago  |  
1  |  
 
What's up guys ?  | 
  | 
 
| asked by Deleted Account (hadiq_pv) 9 years ago  |  
2  |   + 2 more questions by hadiq_pv    
666 3
Triangle.  | 
  | 
 
| asked by Deleted Account (hadiq_pv) 9 years ago  |  
1  |  
Please tell me how to write variable descriptions.
Please provide it with a program.  | 
  | 
 
| asked by Deleted Account (hadiq_pv) 9 years ago  |  
2  |  
 
 
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) 9 years ago  |  
2  |  
 
99999 7777
555
33
1
How to print the pattern  | 
  | 
 
| asked by Anu krishna (anukrishna) 9 years ago  |  
2  |  
 
Guys do ya'll have any notes for definitions nd stuff ?? To prepare for section a  | 
  | 
 
| asked by Hrithesh Ramakrishnan (hrithesh23) 9 years ago  |  
1  |  
 
 
 
 |    |    |