Question: This is a simple problem, you just have to print the result of x divided by 999. Format Input: The input consists of 3 integers

This is a simple problem, you just have to print the result of x divided by 999.

Format Input: The input consists of 3 integers x1 , x2 , and x3 .

Format Output: The output consists of 3 lines. The i-th line consist of the result of xi divided by 999. If the result is a repeated decimal, output the repeated value with "...".

Constraints: 1 <= x1 , x2 , x3 <= 998

Sample Input | Sample Output

1 | 0.001...

10 | 0.010...

998 | 0.998...

Explanation: 1/999 = 0,001001001001... because 001 is repeated just output "0.001..."

10/999 = 0,010010010010... because 010 is repeated just output "0.010..."

998/999 = 0,998998998998998998... because 998 is repeated just output "0.998...

Step by Step Solution

3.48 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem you need to perform the division of the given numbers by 999 and output the re... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!