Sunday, August 16, 2020

Age Checker in C

 A simple program that I wrote that will ask the user to give their age and the program will check and determine whether that user age is still a minor or already an adult using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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




Sample Program Output

Program Listing

#include <stdio.h>
 

int main()
{   
    char *age_checker[] = {"You are still a Minor.",
                     "You are already an Adult.",
};
    char *display_age;
 
    int age=0;
    
    printf("\n\n");
printf("\tAge Checker in C");
printf("\n\n");
printf("\tWhat is Your Age? : ");
    scanf("%d",&age);
     
     
     if (age >= 18) {
display_age = age_checker[1];
}
     switch (age < 18) {
     
    case 1 : case 2 : case 3 : case 4: case 5:
    case 6 : case 7 : case 8 : case 9: case 10:
    case 11 : case 12 : case 13 : case 14: case 15:
    case 16 : case 17 : 
display_age = age_checker[0];
break;
                  
}
    
    
printf("\n\n");
printf("\t===== DISPLAY RESULTS =====");
printf("\n\n");
printf("\tAt the age of %d years old.\n\n",age);
printf("\t%s",display_age);
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}




Volume of a Sphere Converter in C

 A simple program that I wrote that will ask the user to give value in radius and then the program will compute the volume of a sphere using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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



Sample Program Output

Program Listing


#include <stdio.h>


#define PI  3.14


int main()

{   

    float volume_sphere = 0.00;

    float radius = 0.00;

    printf("\n\n");

printf("\tVolume of a Sphere Converter");

printf("\n\n");

printf("\tEnter Radius Value : ");

    scanf("%f",&radius);


    /* Compute the volume of Sphere */

    

    volume_sphere = (4.0/3.0)*(PI*radius*radius*radius);

    

printf("\n\n");

printf("\tThe Volume of Sphere is %5.2f.",volume_sphere);

printf("\n\n");

printf("\tEnd of Program");

printf("\n");

}



Temperature Checker in C

 A temperature program that I wrote using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Sample Program Output

Program Listing


#include <stdio.h>

int main()
{   

char *temp_value[] = {"ICE","WATER","STEAM"};
                      
char  *display_temp; 

    int temperature = 0;
    printf("\n\n");
printf("\tTemperature Checker in C");
printf("\n\n");
printf("\tWhat is the Temperature? : ");
    scanf("%d",&temperature);
   
   if (temperature < 0) {
    display_temp = temp_value[0];
   } else if (temperature > 100) {
    display_temp = temp_value[2];
   }
     
    switch(temperature) {
     case 0 : case 1 : case 2 : case 3 : case 4 : case 5: 
     case 6 : case 7 : case 8 : case 9 : case 10: 
     case 11 : case 12 : case 13 : case 14 : case 15: 
     case 16 : case 17 : case 18 : case 19 : case 20: 
     case 21 : case 22 : case 23 : case 24 : case 25: 
     case 26 : case 27 : case 28 : case 29 : case 30: 
     case 31 : case 32 : case 33 : case 34 : case 35: 
     case 36 : case 37 : case 38 : case 39 : case 40: 
     case 41 : case 42 : case 43 : case 44 : case 45: 
     case 46 : case 47 : case 48 : case 49 : case 50: 
     case 51 : case 52 : case 53 : case 54 : case 55: 
     case 56 : case 57 : case 58 : case 59 : case 60: 
     case 61 : case 62 : case 63 : case 64 : case 65: 
     case 66 : case 67 : case 68 : case 69 : case 70: 
case 71 : case 72 : case 73 : case 74 : case 75: 
     case 76 : case 77 : case 78 : case 79 : case 80: 
     case 81 : case 82 : case 83 : case 84 : case 85: 
     case 86 : case 87 : case 88 : case 89 : case 90: 
     case 91 : case 92 : case 93 : case 94 : case 95: 
case 96 : case 97 : case 98 : case 99 : case 100: 
display_temp = temp_value[1];
         break;
    }
    
    printf("\n\n");
printf("\tThe Temperature is %s.", display_temp);
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}


US Dollar To Philippine Peso Converter Using C language

 A simple program to ask the user to give a value in US Dollar and then convert into Philippine Peso using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Sample Program Output


Program Listing

#include <stdio.h>

#define PHIL_PESO  50.74

int main()
{   
    float convert = 0.00, us_dollar = 0.00;
   
    printf("\n\n");
printf("\tUS Dollar To Philippine Peso Converter");
printf("\n\n");
printf("\tEnter US Dollar Value : ");
scanf("%f",&us_dollar);
convert = (us_dollar *  PHIL_PESO);
  
printf("\n\n");
printf("\tThe value of $%2.2f US Dollars in ",us_dollar);
printf("Philippine Peso is PHP %2.2f.",convert);
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}




Thursday, August 13, 2020

Memory Allocation in C

 A program was written by my friend and fellow software engineer Thomas to demonstrate how to use memory allocation using C programming language. Thank you Tom for sharing your code to us.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Program Listing

#define DEBUG

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

void* alloc_mem(size_t size, const char *file, unsigned line)
{
     assert(size > 0);
     assert(file != NULL);

     void* res = malloc(size);
     if (res == NULL)
         fprintf(stderr, "malloc failed at %s(%u)\n",file, line);
     else {
         fprintf(stderr, "alloc\t%u\t%u\t%s\t%u\n", (unsigned int)res,
size,file, line);
         memset(res, 0xCC, size);
     }

     return res;
}

void free_mem(void *p, const char *file, unsigned line)
{
     assert(p != NULL);
     fprintf(stderr, "free\t%u\t?\t%s\t%u\n", (unsigned int)p, file, line);
}

#ifdef DEBUG
#define malloc(size)    alloc_mem(size, __FILE__, __LINE__)
#define free(p)         free_mem(p, __FILE__, __LINE__);
#endif

int f()
{
     int *num = malloc(sizeof(int *));

     return *num;
}

int main()
{
     int *ip = malloc(sizeof(int *));
     if (ip != NULL)
     {
         *ip = 11;
         printf("*ip = %d\n", *ip);
     }
     printf("Num = %d\n", f());
     free(ip);
     //system("pause");
     return EXIT_SUCCESS;



Wednesday, August 12, 2020

Product of Two Numbers in Java

Product of Two Numbers in Java

 A simple program that I wrote using Java programming language that will ask the user to give two numbers and then the program will compute the product of two numbers and display the results on the screen.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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

Sample Program Output



Program Listing

product.java

/* Product.java
 * Author : Jake Rodriguez Pomperada, MAED-IT, MIT
 * Email  : jakerpomperada@gmail.com
 * Place  : Bacolod City, Negros Occidental Philippines
 */

import java.util.Scanner;

public class Product {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
  
  System.out.println();
  System.out.println("\tProduct of Two Numbers in Java");
  System.out.println();
  System.out.print("\tGive First Number: ");
  int num1 = in.nextInt();
   
  System.out.print("\tGive Second Number: ");
  int num2 = in.nextInt();
   
  System.out.println();
  System.out.println("\t"+ num1 + " x " + num2 + " = " + num1 * num2);
  System.out.println();
  System.out.println("\tEnd of Program");
  System.out.println("\n\n");
}

}


Sunday, August 9, 2020

How To Run a PHP program in XAMPP?

Length of the String in C++

 I wrote this simple program to find the length of the string using C++ programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Sample Program Output

Program Listing

// length.cpp
// Author : Jake Rodriguez Pomperada,MAED-IT,MIT
// Email  : jakerpomperada@gmail.com

#include <iostream>
#include <cstring>

using namespace std;

int main()
{
    char str[] = "Information Technology";

    cout << "\n\n";
    cout << "\tLength of the String in C++";
    cout << "\n\n";
    cout << "\tThe Given String  : " << str <<"\n\n";
cout << "\tThe String Length = " << strlen(str);
cout << "\n\n";
cout << "\tEnd of Program ";
cout << "\n\n";
}


Months and it's Days in PHP

 I wrote this program to display the months and its corresponding days using PHP programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Sample Program Output

Program Listing

<html> 
<head>
 <title>Months and it's Days in PHP </title>
</head>
<style>
 body {
font-family: arial;
size  : 12px;
 };
</style> 
<body>
<h2>Months and it's Days in PHP</h2>
<?php

$months=Array("January","February","March","April","May","June","July","August","September","October","November","December");

$count=1;
foreach($months as $current_month) {
print "$current_month has ".cal_days_in_month(CAL_GREGORIAN,$count,date("Y"))." days<Br>";
$count++;
}

?>
</body>
</html>





Hello World in PHP

Hello World in PHP

 A very simple hello world program that I wrote using PHP programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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

Program Listing

<html> 

<head>

 <title>Hello World in PHP </title>

</head>

<style>

 body {

font-family: arial;

size  : 12px;

color : red;

 };

</style> 

<body>

<?php

 echo "<h1>Hello World in PHP </h1>";

 ?>

</body>

</html>


Area of the Circle Using PHP

Tuesday, August 4, 2020

Linear Search in C Language

I wrote this program to ask the user to give a series of  numbers and then number to be search using linear search algorithm in C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Sample Program Output

Program Listing

#include <stdio.h>

int main()
{
  int array[100], search=0, c=0, n=0;

  printf("\n");
  printf("\tLinear Search in C Language");
  printf("\n\n");
  printf("\tEnter number of elements : ");
  scanf("%d", &n);

  printf("\tEnter %d integer(s)\n", n);

  for (c = 0; c < n; c++)
    scanf("%d", &array[c]);

  printf("\tEnter a number to search\n");
  scanf("%d", &search);

  for (c = 0; c < n; c++)
  {
    if (array[c] == search)
    {
      printf("%d is present at location %d.\n", search, c+1);
      break;
    }
  }
  if (c == n) {
    printf("%d isn't present in the array.\n", search);
  }
  printf("\n");
  printf("\tEnd of Program");
  printf("\n");
}



Monday, August 3, 2020

Odd and Even Numbers Checkers in VB.NET

Odd and Even Numbers Checkers in VB.NET

A simple program that I wrote to ask the user to give a number and then the program will check and determine whether the given number is an odd or even number using Microsoft Visual Basic.NET.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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





Sample Program Output



Program Listing

Public Class Form1

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim MyValue As Integer
        Dim isEven As Boolean
        MyValue = Val(TextBox1.Text)
        If MyValue Mod 2 = 0 Then
            isEven = True
            MsgBox("The number " & " " & MyValue & " is an EVEN number.")
        Else
            MsgBox("The number " & " " & MyValue & " " & "is an Odd number.")
        End If
    End Sub

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        TextBox1.Text = ""
        TextBox1.Focus()
    End Sub

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
        End
    End Sub
End Class

Sunday, August 2, 2020

Subtraction of Two Numbers in Golang

Subtraction of Two Numbers in Golang

I wrote this simple program using Go programming language to ask the user to give two numbers and then the program will compute the difference between of two numbers.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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



Sample Program Output


Program Listing

// substract.go
// Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
// Date    : August 2, 2020   10:20 AM
// Website : http://www.jakerpomperada.com
// Email   : jakerpomperada@gmail.com and jakerpomperada@yahoo.com

package main
 
import "fmt"
     
func main(){
     
    var n1 int 
    var n2 int 
        
    fmt.Print("\n\n")
    fmt.Print("\tSubtraction of Two Numbers in Golang")
    fmt.Print("\n\n")
    fmt.Print("\tEnter first number: ") 
    fmt.Scanln(&n1) // take input from user 
    fmt.Print("\tEnter Second number: ") 
    fmt.Scanln(&n2) // take input from user 
   
    solve := n1 - n2 
   
    fmt.Print("\n")
    fmt.Println("\tThe difference between",n1,"and",n2, "is",solve,".") 
    fmt.Print("\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}





Thursday, July 30, 2020

Today's Date in VB.NET

Today's Date in VB.NET

Today's Date in Visual Basic.NET

A very simple program that I wrote using Microsoft Visual Basic NET to display the current date.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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



Sample Program Output


Program Listing

Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim dt As Date = Today
        Label1.Text = "Today is " & dt
    End Sub
End Class





Wednesday, July 29, 2020

Product of Two Numbers in Visual Basic 6

Product of Two Numbers in Visual Basic 6

A simple program that I wrote to ask the user to give two numbers and then the program will compute the product of two numbers using Microsoft Visual Basic 6.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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



Sample Program Output


Program Listing

Private Sub Command1_Click()
Dim a, b, product As Integer

a = Val(Form1.Text1(0).Text)
b = Val(Form1.Text1(1).Text)

product = (a * b)

MsgBox ("The product of " & a & " and " & b & " is " & product & ".")
End Sub

Private Sub Command2_Click()
Form1.Text1(0).Text = ""
Form1.Text1(1).Text = ""
Form1.Text1(0).SetFocus
End Sub

Private Sub Command3_Click()
End
End Sub