Tag: c

31
Mar

C Program for 21 Sticks game

Here is a good brain refreshing puzzle that I solved recently. Thanks to my friend Raghul…

13
Feb

C program to implement evaluation of Postfix expression using Stack

Program: #include<stdio.h> #include<stdlib.h> #include<string.h> struct node { double element; struct node *next; } *head; void push(int…

03
Feb

C program to implement infix to postfix expression

Program: #include<stdio.h> #include<stdlib.h> #include<string.h> struct node { char element; struct node *next; } *head; void push(char…

25
Jan

C Program to Check Leap Year

Program Logic: If the year is divisible by 4, it is a leap year. But, if…

25
Jan

C Program to find sum of cubic roots of individual digits of a number

Examples: 123 : 11/3 + 21/3 + 31/3 Program: #include<stdio.h> #include<conio.h> #include<math.h> void main() { long…

25
Jan

C program to find sum of integers between 1 and 100 which are divisible by 3 and 5

To Do: 15 + 30 + …. + 90 Program: #include<stdio.h> #include<conio.h> void main() { int…