Computer Science, asked by lelesaadq, 1 month ago

Write a Java program that computes the sum of two rational numbers given by the user. [Note:
If two numbers are rational, then we can write them in the form /x and /y, for some
integer values of a, b, x and y, and x and y cannot be zero.
Then their sum is: / +b/y

Answers

Answered by MysteriousAryan
2

\huge\green{\boxed{\sf Answer}}

let myInt = 5;

let myFloat = 6.667;

myInt;

myFloat;

Similar questions