• when x is 0 then y =10

    when x is 1 then y =9.33

    when x is 2 then y =8.66

    when x is 3 then y =7.99

    when x is 4 then y =7.32

    when x is 5 then y=6.65

    when x is 6 then y=5.98

    so it will print up to 0,1,2,3,4,5.Because for x=5 the condition is satisfied.

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)