Learn C ProgrammingLearn ProgrammingPrograms On Decision Control StructuresResources 015. Write a program to accept a number and print if the number is Positive/Negative in C language #include<stdio.h> #include<conio.h> main() { int n; clrscr(); printf("Enter number.."); scanf("%d",&n); if(n>0) printf("Given number is positive");…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Decision Control StructuresResources 014. Write a program to accept two number and print largest among them in C language #include<stdio.h> #include<conio.h> main() { int a,b; clrscr(); printf("Enter numbers : "); scanf("%d%d",&a,&b); if(a>b) printf("Largest value…Prashant ChaudhariSeptember 18, 2012