Skip to content
Mozammel Haque | Web Developer
  • About Mozammel
  • Contact Mozammel
  • Privacy Policy
  • Author: Mozammel Haque

    This author has written 34 articles
    1. Home>
    2. Mozammel Haque>
    3. Page 3

    C programming: This program will convert int 123 in to one two three.

    • Post author:Mozammel Haque
    • Post published:March 11, 2015
    • Post category:Uncategorized

    #include <stdio.h> #include <stdlib.h> int main(){ int num,rev=0, a, b; printf("Please enter a integer."); scanf("%d",&num); while(num){ rev = rev*10+num%10; num = num/10; } b=rev; while(b){ rev = b%10; b =…

    Continue ReadingC programming: This program will convert int 123 in to one two three.

    C programming: Print stars in several lines.

    • Post author:Mozammel Haque
    • Post published:March 10, 2015
    • Post category:c programming codes

    #include <stdio.h> int main(){ int i,j, n; printf("Please enter a number: "); scanf("%d", &n); for(j=0;j<n;j=j+1){ for(i=0;i<j+1;i=i+1){ printf("*"); } printf("\n"); } return 0; }

    Continue ReadingC programming: Print stars in several lines.

    C programming for getting revers number.

    • Post author:Mozammel Haque
    • Post published:March 8, 2015
    • Post category:c programming codes

    #include <stdio.h> #include <stdlib.h> int main(){ int num,rev=0; printf("Please enter a integer."); scanf("%d", &num); while(num){ rev = rev*10+num%10; num = num/10; } printf("Result is : %d", rev); return 0; }

    Continue ReadingC programming for getting revers number.

    C programming: Display odd sum from increment.

    • Post author:Mozammel Haque
    • Post published:March 8, 2015
    • Post category:c programming codes

    #include <stdio.h> #include <stdlib.h> int main(){ int a, i, limit, sum=0; printf("Please Enter a initial digit."); scanf("%d", &a); printf("Please Enter limit.\n"); scanf("%d", &limit); for(i=a;i<=limit;i++){ if(i%2!=0){ printf("%d+", i); sum=sum+i; } }…

    Continue ReadingC programming: Display odd sum from increment.

    C program to display Fibonacci series

    • Post author:Mozammel Haque
    • Post published:March 8, 2015
    • Post category:c programming codes

    #include<stdio.h> void main(){ //declaring integer type variables int limit, i, first=0, second=1, next=0; //displaying message to enter the limit printf("Enter the limit: "); //storing the limit into a variable scanf("%d",&limit);…

    Continue ReadingC program to display Fibonacci series

    Palindrome or non Palindrome

    • Post author:Mozammel Haque
    • Post published:March 7, 2015
    • Post category:c programming codes

    #include <stdio.h> #include <stdlib.h> int main(){ int num, num2, sum=0; printf("Please enter a integer."); scanf("%d", &num); num2=num; while(num){ sum = sum*10+num%10; num = num/10; } if(sum==num2){ printf("This number is Palindrome.");…

    Continue ReadingPalindrome or non Palindrome

    sum of digits between a range

    • Post author:Mozammel Haque
    • Post published:March 7, 2015
    • Post category:c programming codes

    #include <stdio.h> #include <stdlib.h> int main(){ int a, b, c; printf("Please enter your numbers: \n"); scanf("%d%d%d", &a, &b, &c); if(a!=b && b!=c){ if(((a<b) &&(b<c)) || ((c<b) && (b<a))){ printf("' %d…

    Continue Readingsum of digits between a range

    Finding Middle number out of 3 number.

    • Post author:Mozammel Haque
    • Post published:March 4, 2015
    • Post category:c programming codes

    #include <stdio.h> #include <stdlib.h> int main(){ int a, b, c; printf("Please enter your numbers: \n"); scanf("%d%d%d", &a, &b, &c); if(a!=b && b!=c){ if(((a<b) &&(b<c)) || ((c<b) && (b<a))){ printf("' %d…

    Continue ReadingFinding Middle number out of 3 number.

    C programming: Age calculator

    • Post author:Mozammel Haque
    • Post published:March 2, 2015
    • Post category:c programming codes

    #include <stdio.h> #include <stdlib.h> int main(){ int bd, bm, by, cd, cm, cy, ad, am, ay; printf("Please give me your date of birth \n"); printf("day \t"); scanf("%d", &bd); printf("month \t");…

    Continue ReadingC programming: Age calculator

    Wp serach form

    • Post author:Mozammel Haque
    • Post published:March 2, 2015
    • Post category:Wordpress Cheatsheet

    Continue ReadingWp serach form
    • Go to the previous page
    • 1
    • 2
    • 3
    • 4
    • Go to the next page

    Recent Posts

    • The Top Laravel Packages You Need to Know in 2023
    • How to find the right Web Designer or Web Developer?
    • Broadband Internet – BDIX Servers List
    • How to Flush DNS cache in Windows and Mac
    • Laravel 500 error on VPS

    Categories

    • c programming codes
    • How to
    • Internet
    • Javascript
    • Laravel
    • php
    • Uncategorized
    • Video
    • Wordpress
    • Wordpress Cheatsheet

    Archives

    • March 2023
    • May 2018
    • November 2017
    • July 2017
    • April 2017
    • January 2017
    • November 2016
    • August 2016
    • June 2016
    • February 2016
    • January 2016
    • October 2015
    • August 2015
    • March 2015
    • January 2015
    • July 2013
    © Copyright 2019 - Developed by MymenTech

    By using this site, you are agreed with our Privacy Policy