Categories
C

Decimal To Binary Number Converter

I wrote this program that will ask the user to give the decimal number and then the program will convert the given decimal number into binary number equivalent using the C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output

Program Listing

binary.c

#include<stdio.h>
#include<conio.h>

int main()
{
long int d;
int i=0,a[25],j;
printf("\tDecimal To Binary Number Converter");
printf("\n\n");
printf("Enter the Decimal No.:");
scanf("%d",&d);
while(d>0)
{
a[i]=d%2;
d=d/2;
i++;
}
printf("Binary Number Equivalent : ");
for (j=i-1;j>=0;j--)
printf("%d",a[j]);
getch();
}
Categories
C

Do You Want To Continue in C

A simple program to show you how to integrate do you want to continue option using the C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Program Listing

/* sum.c
   Written By: Jake R. Pomperada,MAED-IT
   September 19, 2019  */

#include <stdio.h>
#include <ctype.h>

int main() {
	
int x=0,y=0,sum=0;
char ch;
do {
printf("\n");
printf("\tAddition of Two Numbers Using Do While in C");
printf("\n\n");
printf ("\tEnter the first number : ");
scanf ("%d",&x);
printf ("\tEnter the second number : ");
scanf ("%d",&y);
sum=x+y;
printf("\n");
printf ("\tThe total number is: %d\n",sum);
printf("\n\n");
printf ("\tDo you want to repeat the operation Y/N: ");
scanf (" %c", &ch);
} while (toupper(ch) == 'Y');
printf("\n\n");
printf ("\tEnd of Program");
printf("\n\n");
}
Categories
C

String Palindrome in C

A simple program that I wrote to ask the user to give a string and then the program will check if the given string is a palindrome or not a palindrome using a C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com
I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output

Sample Program Output
My video tutorial on my YouTube channel

Program Listing

palindrome.c

#include <stdio.h>
#include <string.h>
#include <stdlib.h>


int main() {
    char a[200], b[200];
    
    printf("\n\n");
    printf("\tString Palindrome in C");
    printf("\n\n");
    printf("\tGive a String : ");
    gets(a);
    
    strcpy(b,a);
    strrev(b);
    
    printf("\n");
    if (strcmp(a,b) == 0) {
        printf("\tThe given string %s is a Palindrome.",a);
        }
     else {
        printf("\tThe given string %s is Not a Palindrome.",a);
                          
     } 
    printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
    system("pause");
}  
    
Categories
C

Square a Number in C

A simple program that I wrote that will ask the user to give a number and then the program will convert the given number into square equivalent using a C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.
Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output

My video tutorial on my YouTube Channel.

Program Listing

square.c

#include <stdio.h>
#include <stdlib.h>

int main() {
  int a=0,b=0;
  
  printf("\n\n");
  printf("\tSquare a Number in C");
  printf("\n\n");
  printf("\tGive a Number : ");
  scanf("%d",&amp;a);
  
  b = (a * a);
  
  printf("\n");
  printf("\tThe square value of %d is %d.",a,b);
  printf("\n\n");
  printf("\tEnd of the Program");
  printf("\n\n");
  system("pause");
}  

Categories
C

Number Palindrome in C

I very simple program to ask the user to give a number and then the program will check if the given number is a palindrome or not a palindrome using the C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/



Sample Program Output
My video tutorials on my YouTube channel

Program Listing

palindrome.c

#include <stdio.h>
#include <stdlib.h>


int main()
{
    int n=0,r=0,t=0;
    
    printf("\n\n");
    printf("\tNumber Palindrome in C");
    printf("\n\n");
    printf("\tGive a Number : ");
    scanf("%d",&amp;n);
    
    t=n;
    
    while (t != 0)
    {
          r = r * 10;
          r = r + t % 10;
          t = t / 10;
    }     
    
    printf("\n\n");
    if (n == r) {
        printf("\t%d is a Palindrome Number.",n);  
          }
     else
     {
        printf("\t%d is a Not Palindrome Number.",n);  
     }
     printf("\n\n");
     printf("\tEnd of Program");
     printf("\n\n");
     system("pause");
} 

Categories
C

Employees Payroll System in C

I wrote this program using a C programming language to solve the salary of the employees in a company.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output

My video tutorial in my Youtube Channel

Program Listing

payroll.c

#include <stdio.h>
#include <string.h>
#include <stdlib.h>


int main()
 {
    char emp_name[200];
    int days_work=0;
    float rate_per_day=0.00;
    
    float solve_salary=0.00;
    
    printf("\n\n");
    printf("\tEmployees Payroll System in C");
    printf("\n\n");
    printf("\tGive Employees Name      : ");
    gets(emp_name);
    printf("\tGive Number of Days Work : ");
    scanf("%d",&days_work);
    printf("\tGive Rate Per Day        : ");
    scanf("%f",&rate_per_day);
    
    solve_salary = (days_work * rate_per_day);
    printf("\n\n");
    printf("\tEmployees Name   : %s\n ",emp_name);
    printf("\tEmployees Salary : $%2.2f\n ",solve_salary);
    printf("\n\n");
    printf("\tEnd of the Program");
    printf("\n\n");
    system("pause");
    printf("\n\n");
} 
        
         
          
Categories
C

Arithmetic Mean in C Language

I wrote this program to ask the user how many items to be processed and then the program will ask the series of numbers and then the program will compute the arithmetic mean using the C programming language.


I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output
Sample Program Output

Program Listing

mean.c

#include<stdio.h>


int main()
{
	int n=0, i=0, arr[100], sum=0;
	int solve_mean=0;
	
	printf("\n\n");
	printf("\tArithmetic Mean in C Language");
	printf("\n\n");
	printf("\tHow many items? : ");
	scanf("%d",&n);
	printf("\n");
	for(i=0; i<n; i++)
	{
		printf("\tEnter item no. %d : ",i+1);
		scanf("%d",&arr[i]);
		sum=sum+arr[i];
	}
	solve_mean=(sum/n);
	printf("\n");
	printf("\tThe Arithmetic Mean is %d.",solve_mean);
	printf("\n\n");
	printf("\tEnd of Program");
	printf("\n");
}
Categories
C

Perfect Square Checker in C Language

I wrote this program to ask the user to give a number and then the program will check whether the given number is a perfect square number or not.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. 

If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.


My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.


https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output

Sample Program Output

Program Listing

perfect_square.c

/* perfect_square.c
   Jake R. Pomperada
   December 25, 2019 
   Wednesday   */

#include<stdio.h>

int main()
{
    printf("\n\n");
	printf("\tPerfect Square Checker in C Language");
    printf("\n\n");
      int i=0, number=0;
    printf("\tGive a Number : ");
    scanf("%d", &number);

   
    for(i = 0; i <= number; i++)
    {
        if(number == i*i)
        {
            printf("\n");
            printf("\tThe given number %d is a Perfect Square Number.",number);
            return 0;  
        }
    }
     printf("\n");
     printf("\tThe given number %d is Not Perfect Square Number.",number);
     printf("\n");
     printf("\tEnd of Program");
     printf("\n");
}
Categories
C

Highest To Lowest Scores in C Language

A simple program that I wrote using a C programming language that will ask the user how many basketball players to be a process of our program and then the program will ask the basketball player names and their perspective score in a basketball game. The program will sort the name of the basketball players based on the highest score in a table being generated by our program.


I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.


https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output

Program Listing

/* scores.c
   Author : Jake R. Pomperada,MAED-IT
   December 22, 2019    10:29 PM
   Sunday
   Bacolod City, Negros Occidental Philippines */

#include <stdio.h>
#include <conio.h>

struct student
{
    int  scores;
    char name[100];
}players[100],t;

void main()
{
    int i=0,j=0,n=0;
    printf("\n\n");
    printf("\tHighest To Lowest Scores in C Language");
    printf("\n\n");
    printf("\tEnter the no of Basketball Players: ");
    scanf("%d",&n);
   
    for(i=0;i<n;i++)
    {
         getchar();
		 printf("\tEnter Basketball Player Name  : ");
         gets(players[i].name);
       
         printf("\tEnter Basketball Player Score : ");
         scanf("%d",&players[i].scores);
    }
    
    for(i=0;i<n;i++)
    {
        for(j=0;j<n-1;j++)
        {
            if(players[j].scores<players[j+1].scores)
            {
                t=players[j];
                players[j]=players[j+1];
                players[j+1]=t;
            }
        }
    }
    printf("\n\n");
    printf("\tBasketBall Players that has the Highest to Lowest Points\n");
    printf("\n\t\tNAME\t\t\t\tSCORES\n");
    printf("-------------------------------------------------------------------------------\n");
    for(i=0;i<n;i++)
    {
        printf("\t\t%s\t\t\t%d\n",players[i].name,players[i].scores);
    }
    printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
}