Зміст курсу
C Basics
C Basics
if-else Operator Practice
A Program Alerting High Temperature
main
#include <stdio.h> int main() { int temperature = 200; // in celsius if (temperature > 80) { printf("Temperature is so high: %d degrees Celsius\n", temperature); } else { printf("Temperature is normal: %d degrees Celsius\n", temperature); } return 0; }
Завдання
Construct a calculator that divides numbers, but only if neither of the numbers is zero.
Дякуємо за ваш відгук!
if-else Operator Practice
A Program Alerting High Temperature
main
#include <stdio.h> int main() { int temperature = 200; // in celsius if (temperature > 80) { printf("Temperature is so high: %d degrees Celsius\n", temperature); } else { printf("Temperature is normal: %d degrees Celsius\n", temperature); } return 0; }
Завдання
Construct a calculator that divides numbers, but only if neither of the numbers is zero.
Дякуємо за ваш відгук!
if-else Operator Practice
A Program Alerting High Temperature
main
#include <stdio.h> int main() { int temperature = 200; // in celsius if (temperature > 80) { printf("Temperature is so high: %d degrees Celsius\n", temperature); } else { printf("Temperature is normal: %d degrees Celsius\n", temperature); } return 0; }
Завдання
Construct a calculator that divides numbers, but only if neither of the numbers is zero.
Дякуємо за ваш відгук!
A Program Alerting High Temperature
main
#include <stdio.h> int main() { int temperature = 200; // in celsius if (temperature > 80) { printf("Temperature is so high: %d degrees Celsius\n", temperature); } else { printf("Temperature is normal: %d degrees Celsius\n", temperature); } return 0; }
Завдання
Construct a calculator that divides numbers, but only if neither of the numbers is zero.