icp/oer/courses/tutorial/sections/01-introduction/06-positiv/content.md

13 lines
229 B
Markdown
Raw Normal View History

2018-05-05 22:18:02 +00:00
Read this source code carefully.
int var = -5;
if (var > 0){
printf("Variable is positiv.");
}
var = 10;
printf("Program ended.");
if (var > 0) {
printf("Variable is positiv.");
}