Community

vladpurga 17 February 2017 →

Select the incorrect statements: (Select all correct answers)

whatcanIdo?

Николай Артамонов 16 February 2017 →

What with code-style in teacher's solution? I think it's not very good/

Николай Артамонов 13 February 2017 →

In description export it as default - doesn't work for me, only with export const ... test passed

Тимур А 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 =(

Арман Кобжасаров 08 January 2017 →

Hey Rakhim. Your english lessons are awesome. Keep it up! I'd like to point to one thing: when you say the word like "-number" it is correct to say "negative number" instead of "minus number", isn't it?)

Andrew Titov 28 December 2016 →

enter image description here

"Отмена" -> "Cancel", is not it ?!

Askhat Abishev 22 December 2016 →

Hi, Rakhim! How are you? I'm Askhat. Don't know if you remember me... We studied in SDU. I've found a mistake in "IF conditions and programs making decisions" part... OR operator (A - FALSE, B - FALSE, A OR B - TRUE). And also in AND operator, A - FALSE, B - FALSE, A AND B - FALSE (not a mistake, but I think that your intention was to write A - FALSE, B - TRUE, A AND B - FALSE). Wish you success in your endeavor. Great job!

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'
We teach programming in a new way. Check out "Intro to Programming" course.

Hexlet

Learn about why Hexlet is so good →