Thank you all for being with us.
Learn, Create and Implement.

  • Build Concept

    You can build your concept in programming on programsway.com.

  • Examples

    There are many C Programming examples on programsway.com.

  • Ask Questions

    Ask questions and get quick answers. Request any program and we will publish that program.

  • Wednesday, 20 March 2013

    In Data Structures the program infix to post fix using stack is very important. There for here is an example for  this program. Here we use a stack named stack to store in-stack elements. /* This is a program to turn a infix expression into post-fix expression and then evaluate the expression */ #include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> void...

    Sunday, 10 March 2013

    This is a program show the applications the mod (%) operation. /*This is a program to input three digit number from user and display square of first and last number */ #include<stdio.h> int main() { int num,rem,sqr1,sqr2; start: printf("Enter a three digit number  "); scanf("%d",&num); if(num>999){ printf("\nSorry you have...

    Saturday, 9 March 2013

    In C every character has a ASCII number. Here we can use this concept for this program. First we take a input from user. Then we check whether it is an alphabet or not and also check whether it is  in capital or in small letter. If it is in capital then we add 32 with the character's ASCII value. If it is in small letter then we subtract ...

    Friday, 8 March 2013

    We can inter change values with out using third variable. //This is a program to interchange values of to number without using third variable #include<stdio.h> int main() { int a,b; printf("Enter the frist number "); scanf("%d",&a); printf("\nEnter the scond number "); scanf("%d",&b); a=a*b; b=a/b; a=a/b; ...
    This is a simple program to swap the values using third variable. //This is a program to interchange vaules of to number using thrid variable #include<stdio.h> int main() { int fst_num,snd_num,trd_num; printf("Enter the frist number "); scanf("%d",&fst_num); printf("\nEnter the scond number "); scanf("%d",&snd_num); trd_num=fst_num; ...
    This is a c program to find out the area of a circle. #include<stdio.h> #define PI 3.14 int main() { int redius; float area; printf("Enter the redius of the circle "); scanf("%d",&redius); area=PI*redius*redius; printf("\nThe area of the circle is %5.2f\n",area); return 0; } The out put will be.... ...
    This is a example of simple program to find out the square and cube of a number. This program can be extended to find out any power of a number using recursion function. //This is a program to find out Square and Cube of a given number #include<stdio.h> int main() { int num,sqrt,cube; printf("\nEnter a number to Square and Cube "); scanf("%d",&num); sqrt=num*num; cube=num*num*num; printf("\nThe Square of the give number is...