#include <stdio.h> int main() { // Declare an integer variable named 'a' int a; // Prompt the user to enter an integer value printf("Bir sayi giriniz: "); scanf("%d", &a); // Check if the number is between 10 and 100 (inclusive) and divisible by 5 if (10 <= a && a <= 100 && a % 5 == 0) { // If the condition is true, print "Koşulda" (In condition) printf("Koşulda\n"); } else { // Otherwise, print "Koşul Dışı" (Out of condition) printf("Koşul Dışı\n"); } // Return 0 to indicate successful program termination return 0; }
Türkçe kısımları sil,satırlara ayır çalışır emin ol
Cevabımı seç
DOĞRUSU BU KARDEŞİM