Conditional Probability Simple

Computer Mathematics Easy 2 views
Back to Questions

Problem Description

A bag has r red and b blue balls. One ball is drawn. Prob it is red.

Input Format

Two integers r b.

Output Format

Reduced fraction.

Sample Test Case

Input:
3 2
Output:
3/5

Constraints

r,b>=0 and r+b>0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev