logo

System.out.println(a,b); System.out.println

5 Pages676 Words187 Views
   

Added on  2019-09-21

About This Document

C) F T F T T !T = (F) T T !F = (T) (A &!B & C) F T !T = F T !F = T F T !F = T T (A &!B& !C) F T !T = F T !F = T T (!A &B & !C) !T = F !F = T T

System.out.println(a,b); System.out.println

   Added on 2019-09-21

ShareRelated Documents
Question 2) 1.public static void main(string args[]){2.float x,y; int a,b;3.read(x);4.read(y);5.if((x == 0) ||(y>0))6.y = y/x;7.else x = y+2;8.system.out.println(x);9.system.out.println(y);10.call addition(a,b);11.}12.Public void addition(int a, int b){13. System.out.println(a+b);14.}1.Set of test cases for the condition coverageTest Case 1: x = 0 y = 2s // trueTest Case 2: x = 5 y = -2 // false2.Set of test cases for the path coverageTest Case: a = 10 b = 20
System.out.println(a,b); System.out.println_1
System.out.println(a,b); System.out.println_2

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Java program for Fraction class, String and Date array, One Dimensional Array and Fantasy Football
|26
|6874
|98

Exam Paper: Programming 2
|17
|3422
|494

Dartboard Applet in Java
|3
|579
|419

Task 2. 2.2 The main part of the program can use a FOR
|9
|750
|196

Diploma in Software Engineering.
|8
|1003
|43

Issues with JTable and Java.security in Advanced Software Engineering Coursework1
|5
|614
|367