Algorithm · Two Sigma · Easy
Create a program that computes y/x for two integer values y and x. You may assume that x is not zero. Requirements: Input: Two integer values, y followed by x. Output: Print the quotient y/x with exactly two digits after the decimal point. Input Format: Output Format: The division of 18 by 8 equals 2.25, so the result is displayed with two decimal places.
Checking your access…