Community

Тимур А 13 January 2017 →

my code is:

var i = 2; while (num%i > 0) { i++; } return i;

and OUTPUT says Run failed! Check and fix errors above!. Sad =(

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.

Andrew E. Titov H&K 06 December 2016 →

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

Тимур Арбаев 08 December 2016 →

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

Игорь Б. 08 December 2016 →

Hello! Subtitles can be seen on a light background!

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".

Николай Артамонов 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?

Andrew E. Titov H&K 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'