write the test cases on prime number with result?
Answer Posted / pavithramadhesh
import java.util.Scanner;
public class prime {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
System.out.println("Enter a Number: ");
int a=sc.nextInt();
if(((a/a)==1) && ((a/1)==a)){
System.out.println(a+" is Prime Number");
}else {
System.out.println(a+" is Not Prime Number");
}
}
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which of these techniques is not useful for partition testing at the class level Option 1 attribute-based partitioning Option 2 category-based partitioning Option 3 equivalence class partitioning Option 4 state-based partitioning
How do you test a web application for dump and deaf??
Can anybody help i put the pharma and bank project in my resume, but i dont know what to tell about them, any body tell the where can i get the information about them,what i need to tell about these applications,please help me
Tell some examples of bug severity and bug priority?
As you are working with cmmi level 5 company ,can you tell me what processes you r following as QA engineer?
What is the difference between pilot and beta testing?
What is Web testing & which action we take at the time of Web Testing?
What r the features,u take care in prototype testing?
what do you mean by Develop test data through sourcing (or) handcrafting techniques
tell me brief about your project? please help me how to explain the project what is the flow? my current project is ERP domain web based application. please help me
How will u decide test data to see that evey feature is thoroughly tested
Hello all, Can someone tell me what kind of questions i can expect from hiring manager along with two team members on final face to face interview for manual testing position.. I am switching from BA to QA as its better on benefits etc.. Thanks in advance
what is system testing? as test eng, what do u do in sys testing? who invoves in sys testing?
how will we change the server system time?
Hi, can any tell how a tester can be judged? i have to interview a tester, how should i judge whether he has a justified experience or not? how a person with 3 years of experience in manual testing can be judge?