Skip to main content

Conditional Programs

 Here is a list of some conditional programmes:




PostScript: If you are having any queries or doubts on program (from above listed ones or other than that), please contact us. It'll be our pleasure to help you😊.

    Comments

    Popular posts from this blog

    Reversing digits of a number

    #include<stdio.h> #include<conio.h> void main() { clrscr(); int ,num,rev=0,rem; printf("Enter the number:"); scanf("%d",&num); while(num!=0) { rem=num%10; rev=rev*10+rem; num=num/10; } printf("Reverse of given Number is:%d",rev); getch(); }

    Print Number with its square

    #include<stdio.h> #include<conio.h> void main() { clrscr(); int i,lim; printf("Enter the limit:"); scanf("%d",&lim); printf("Number\t\tSquare\n"); for(i=1;i<=10;i++) printf("%d\t\t%d\n",i,i*i); getch(); }