Category: C

08
Apr
2017

Fibonacci in C(easy code logic)

code: #include <stdio.h> #include <stdlib.h> int main() { int first=0,second=1,N,temp; printf(“Put value greater than 1: “); scanf(“%d”,&N);…

08
Apr
2017

Continue and Break

code 1: #include<stdio.h> int main(){ int i; for(i=10;i<20;i++) { if(i%2==0) continue; if(i>16) break; printf(“%d\n”,i); } return 0;…

08
Apr
2017

Condition and Loop problems

write a program which will take N integer from user and print all the numbers between N…

07
Apr
2017

Pattern Printing

Problem: **** *** ** * code: #include<stdio.h> int main() { int i,j; for(i=1; i<=4; i++) { for(j=i;…

07
Apr
2017

Prime or Not

Another easy understandable tut is in this link: http://zakilive.com/2017/05/12/check-the-number-is-prime-or-not-in-c-easy-and-details-explanation/ Code: #include<stdio.h> int main() { int i,flag,N; flag=0; printf(“eNter…

06
Apr
2017

How to improve programming logical skills ?

I am not sure how relevant my post is in this context. But if you want to…