Community

Andrew Titov 16 December 2016 →

Execution is counted, but the test gives a message.

// BEGIN (write your solution here)


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;


}

// END
make: Entering directory `/usr/src/app'
rm -f solution
gcc -g -Wall solution.c -o solution
solution.c: In function ‘main’:
solution.c:13:9: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
         printf("%d : %d\n", celsium, kelvin);
         ^
solution.c:13:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
make: Leaving directory `/usr/src/app'

Nikolay Artamonov 12 December 2016 →

Hi! I have a problem, I write my command in terminal and receive file containing answer 8, but check solution show mistake - fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Expected 8, but was ''"}.

Whats wrong?

Ihor Kravchuk 10 December 2016 →

There is russian sentence in "the problem" section. In all english courses in modals that appear after accomplishing the quizzes title is "Title" and text in body is "Body".

Igor B. 08 December 2016 →

Hello! Subtitles can be seen on a light background!

Timur Arbaev 08 December 2016 →

Very fun pictures, especially with pirate! Let's go futher with style ,-)

Andrew Titov 06 December 2016 →

Всем Hello! Вопросы на английском задавать?

Rakhim D. 08 June 2015 →

This is a course community. Share any questions, concerns or ideas about this particular course or specific lessons in it.