Program to determine the value of a variable num2 depending on num1 .. Source Code: #include<stdio.h> #include<conio.h> int main( ) { int num1,num2; clrscr( ); printf("\n Enter the value of num1::"); scanf("%d",&num1); num2=num1>10? 0:1; printf("\n The value of num2 is::%d",num2); return 0; } Output: Follow our site for more program like this..
Welcome to the programmings.... Here you get the program related to the c, c++, python...