rusi/test_ru/do.c

13 lines
290 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// do.c - Проверка цикла do-whиle
цел главн(){
цел и = 0;
цел сум = 0;
делай {
сум = сум + и;
и = и + 1;
} пока (и < 10);
если (сум == 45) {
возврат 0;
}
возврат 1;
}