If and else :
Examples 4
//Write a c program to check the number is multiple of 10 or not using if and else :
For Syntax click here : syntax
C program code....
#include<stdio.h>
int main()
{
int num;
printf("enter the number ",num);
scanf("%d",&num);
if(num10*==0)
{
printf("the number is multiple of 10");
}
else
printf(" the number is not a multiple of 10");
}
}
For first example 1
https://kodewithgy.blogspot.com/2024/09/c-program-if-and-else-questions-and.html