Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.70K
~616 People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for redZERO

import java.util.Scanner; class Handling { public static int quotient(int a,int b) { return(a/b); } public static void main(String[] arg) { Scanner scanner=new Scanner(System.in); System.out.println(" enter value of a"); int a=scanner.nextInt(); System.out.println(" enter value of b"); int b=scanner.nextInt(); int result=quotient(a,b); System.out.println("\n result: a / b = " +result); try { result=quotient(a,b); …

Member Avatar for javalearn
0
616

The End.