Вы попали на английскую версию сайта. Большая часть курсов доступна на русском языке

Question user-673ae0d4048222ae in lesson «Variables and loops in C», course «Intro to C programming language»

user-673ae0d4048222ae

int main(void) { int lower, upper, step, celsium, kelvin; lower = 0; upper = 300; step = 20;

celsium = lower;

while(celsium <= upper) {
    kelvin = celsium + 273;
    printf("%d : %d\n", celsium, kelvin);

    celsium = celsium + step;
}

return 0;

}

0 0

Do you have a question or would you like to participate in a discussion?

Sign up or sign in

By sending the form, you agree to "Personal Policy" and "Service Conditions".

Related topics

user-673ae0d4048222ae 10 June 2020 →

include int main(void) { int lower, upper, step, celsium, kelvin; lower = 0; upper = 300; ...

Andrew Titov 16 December 2016 →

Execution is counted, but the test gives a message. // BEGIN (write your solution here) int main(void) { ...