IBM Mixed Fraction Code Solution | CodeWindow.in

if(denominator == 0){
      System.out.println("Invalid input");
  }
  else{
    int result = (quotient * denominator)+numerator;
     System.out.println(result);
System.out.println(denominator);
  }

Leave a Comment

Your email address will not be published. Required fields are marked *