Click here to Skip to main content
15,913,584 members

Comments by Саша Гайдамак (Top 5 by date)

Саша Гайдамак 21-Mar-24 16:50pm View    
yes, in my code it is written like this
Саша Гайдамак 19-Mar-24 16:53pm View    
also double
Саша Гайдамак 19-Mar-24 16:45pm View    
I have all the values of the remaining variables except k and now I need to find k by substituting values from the loop. when substituting the values of k, the formula equals 0, it means that we have found the value of k. But k can be not only an integer as in this option, so I cannot use the type int in the loop
Саша Гайдамак 19-Mar-24 16:38pm View    
with the first variant of program: Result:3.000000 (correct)
with the second: Result:0.200000
Саша Гайдамак 19-Mar-24 16:27pm View    
yes