Friday, December 21, 2018

Employee's Contact System in Android and SQLite

In this article I would like to share with you a code that I wrote using JavaSE and SQLITE in Android operating system to perform basic CRUD operations. I hope you will find my work useful.

I am currently accepting programming work, it projects, school 

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.

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







Sample Program Output






Thursday, December 13, 2018

Swap Two Numbers in Go

In this simple program it will ask the user to give two numbers and then the program will swap or rearrange the numbers based on the two given numbers by the user using Go programming language.


I am currently accepting programming work, it projects, school 

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.

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




Sample Program Output


Program Listing


// swap.go

package main

import "fmt"

func main() {

var val1,val2,temp int32

fmt.Print("\n")
fmt.Print("\tSwap Two Numbers")
fmt.Print("\n\n")
fmt.Print("\tEnter first value   : ")
fmt.Scanf("%d\n",&val1)
fmt.Print("\tEnter second value  : ")
fmt.Scanf("%d\n",&val2)
fmt.Print("\n\n")
fmt.Print("\t===== BEFORE SWAPPING ===== ")
fmt.Print("\n\n")
fmt.Print("\tA = ",val1," and B = ",val2)
fmt.Print("\n\n")
 
 temp = val1;
 val1 = val2;
 val2 = temp; 

fmt.Print("\t===== AFTER SWAPPING ===== ")
fmt.Print("\n\n")
fmt.Print("\tA = ",val1," and B = ",val2)
fmt.Print("\n\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}




Product and Difference of Two Numbers in Go

A program that I wrote in Go Programming that will ask the user to give two numbers and then the program will solve for the product and difference of the two number being provided by the user and display the result on the screen.

I am currently accepting programming work, it projects, school 

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.

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




Sample Program Output



Program Listing

// product_diff.go


package main

import "fmt"

func main() {

var val1 int32
var val2 int32
var product int32
var difference int32

fmt.Print("\n")
fmt.Print("\tProduct and Difference of Two Numbers")
fmt.Print("\n\n")
fmt.Print("\tEnter first value   : ")
fmt.Scanf("%d\n",&val1)
fmt.Print("\tEnter second value  : ")
fmt.Scanf("%d\n",&val2)

product =(val1 * val2);
difference = (val1 - val2)

fmt.Print("\n")
fmt.Printf("\t===== DISPLAY RESULT =====");
fmt.Print("\n\n")
fmt.Println("\tThe product of",val1, "and",val2 ,"is",product,".")
fmt.Print("\n")
fmt.Println("\tThe difference between",val1, "and",val2 ,"is",difference,".")
fmt.Print("\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}




Addition of Two Numbers With Do you want to Continue in Go

A very simple program that I wrote in Go programming language to ask the user to give two numbers and then the program will compute the sum of the two numbers. After which the program will ask the user if the user would like to continue using the program or not.

I am currently accepting programming work, it projects, school 


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.

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



Program Listing

package main

import (
"fmt"
"strings"
)
var val1 int32
var val2 int32
var sum int32

func start() {
fmt.Print("\n")
fmt.Print("\tAddition of Two Numbers")
fmt.Print("\n\n")
fmt.Print("\tEnter two numbers: ")
fmt.Scan(&val1,&val2)
sum = (val1+val2)
fmt.Print("\n")
fmt.Println("\tThe sum of",val1, "and",val2 ,"is",sum,".")
fmt.Print("\n")
isConfirmed := Ask4confirm()
if isConfirmed {
  start()
} else
{
 
}
}

func Ask4confirm() bool {
var s string
fmt.Printf("\tDo you want to continue? (Y/N): ")
_, err := fmt.Scan(&s)
if err != nil {
panic(err)
}

s = strings.TrimSpace(s)
s = strings.ToLower(s)

if s == "y" || s == "yes" {
start()
} else {
fmt.Print("\n")
fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}
return false
}

func main() {
    start()

}

Tuesday, December 11, 2018

Meter To Feet Converter in Go

A simple program that will ask the user a value in meter and then the program will convert it into feet equivalent and display the result on the screen.

I am currently accepting programming work, it projects, school 

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.

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





Sample Program Output


Program Listing

// meter_feet.go

package main

import "fmt"
      
func main(){
    var meter,feet float32
         
    fmt.Print("\n\n")
    fmt.Print("\tMeter To Feet Converter")
    fmt.Print("\n\n")
    fmt.Print("\tGive value in meter : ")
    fmt.Scan(&meter)
    feet = (3.2808399 * meter);
    fmt.Print("\n\n")
    fmt.Printf("\t%0.2f ",meter)
    fmt.Print("Meter(s) is equivalent to ")
    fmt.Printf("%0.2f ",feet) 
    fmt.Print("Feet(s).")
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}

    


Average and Percentage of Five Subjects Solver in Go

A very simple program that will ask the student to give five grades on the following subjects English, Physics, Chemistry, Mathematics, and Computer.  The program will solve the total marks, average marks, and percentage of the five subject grades being given by the student and display the result on the screen.

I am currently accepting programming work, it projects, school 

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.

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



Sample Program Output


Program Listing


// average.go

package main

import "fmt"
      
func main(){
    var eng, phy, chem, math, comp float32
    var total, average, percentage float32
         
    fmt.Print("\n\n")
    fmt.Print("\tAverage and Percentage of Five Subjects Solver")
    fmt.Print("\n\n")
    fmt.Print("\tEnter Marks of Five Subjects : ")
    fmt.Scan(&eng,&phy,&chem,&math,&comp)
   
/* Calculate total, average and percentage */
    total = eng + phy + chem + math + comp;
    average = total / 5.0;
    percentage = (total / 500.0) * 100;

    fmt.Print("\n\n")
    
    fmt.Print("\tTotal Marks = ")
    fmt.Printf("\t%0.2f ",total)
    fmt.Print("\n")
    fmt.Print("\tAverage Marks = ")
    fmt.Printf("%0.2f ",average) 
    fmt.Print("\n\n")
    fmt.Print("\tPercentage = ")
    fmt.Printf("%0.2f",percentage) 
    fmt.Print("%") 
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}

    

   



Odd and Even Number Checker in Golang

A very simple  program that will ask the user to give a number and then the program will check if the given number is a even or odd number and then display the results on the screen.

I am currently accepting programming work, it projects, school 

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.

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




Sample Program Output


Program Listing

// odd_even.go

package main

import "fmt"

func main(){
    var num_value int32
    fmt.Print("\n")
    fmt.Print("\tOdd and Even Number Checker")
    fmt.Print("\n\n")
    fmt.Print("\tKindly give a number? ")
    fmt.Scanln(&num_value)
  if num_value % 2 ==0 {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",num_value)
       fmt.Print(" is an Even Number.")
    } else {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",num_value)
       fmt.Print(" is an Odd Number.")
    }
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}



Legal Age Checker in Go

A very simple program that will ask the user to give its age and then the program will check and determine if the given age of the user is already an adult or still a minor using Go programming language.

I am currently accepting programming work, it projects, school 

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.

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



Sample Program Output


Program Listing


// legal_age.go

package main

import "fmt"

func main(){
    var age int32
    fmt.Print("\n")
    fmt.Print("\tLegal Age Checker")
    fmt.Print("\n\n")
    fmt.Print("\tWhat is your Age? ")
    fmt.Scanln(&age)
  if age >= 18 {
       fmt.Print("\n")
       fmt.Print("\tAt the age of ")
       fmt.Printf("%d ",age)
       fmt.Print(" years old. You are already an Adult.")
    } else {
        fmt.Print("\n")
        fmt.Print("\tAt the age of ")
        fmt.Printf("%d ",age)
        fmt.Print(" years old. You are still a Minor.")
    }
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}



Positive and Number Number Checker in Golang

A very simple  program that will ask the user to give a number and then the program will check if the given number is a positive or negative number and then display the results on the screen.

I am currently accepting programming work, it projects, school 

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.

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




Sample Program Output


Program Listing

// positive_negative.go

package main
 
import "fmt"
 
func main(){
    var num_value int32
    fmt.Print("\n")
    fmt.Print("\tPositive and Number Number Checker")
    fmt.Print("\n\n")
    fmt.Print("\tKindly give a number? ")
    fmt.Scanln(&num_value)
  if num_value <0 {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",num_value)
       fmt.Print(" is a Negative Number.")
    } else {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",num_value)
       fmt.Print(" is a Positive Number.")
    }
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}

Friday, December 7, 2018

Area of the Rectangle Solver Using Go

A simple program that I wrote using Go programming language to solve the area of the rectangle using Go.

I am currently accepting programming work, it projects, school 

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.

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



Sample Program Output


Program Listing

/* rectangle.go
   Author : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date   : December 7, 2018   Friday   4:32 PM
   Emails : jakerpomperada@gmail.com and jakerpomperada@yahoo.com
*/

package main
 
import "fmt"
      
func main(){
var area int  
    var l,b int
      
    fmt.Print("\n\n")
    fmt.Print("\tArea of the Rectangle Solver")
    fmt.Print("\n\n")
    fmt.Print("\tGive Length of Rectangle : ")
    fmt.Scan(&l)
    fmt.Print("\n")
    fmt.Print("\tGive Breadth of Rectangle : ")
    fmt.Scan(&b)
    area = l * b
    fmt.Print("\n\n")
    fmt.Println("\tArea of Rectangle : ",area) 
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}

Calculate Area and Circumference of Circle Using Go

In this example program I write a program to solve the area and circumference of the circle using Go programming language.

I am currently accepting programming work, it projects, school 

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.

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




Sample Program Output



Program Listing

/* circle.go
   Author : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date   : December 7, 2018   Friday   4:12 PM
   Emails : jakerpomperada@gmail.com and jakerpomperada@yahoo.com
*/

package main

import "fmt"

 const PI float64 = 3.14 

func main(){
    var rad float64
    var ci float64
    var area float64
    fmt.Print("\n")
    fmt.Print("\tCalculate Area and Circumference of Circle")
    fmt.Print("\n\n")
    fmt.Print("\tEnter radius of Circle : ")
    fmt.Scanln(&rad)
    area = PI * rad * rad 
    fmt.Print("\n")
    fmt.Print("\tArea of Circle is : ")
    fmt.Printf("%0.2f ",area)
    ci = 2 * PI * rad
    fmt.Print("\n\n")
    fmt.Print("\tCircumference of Circle is : ")  
    fmt.Printf("%0.2f ",ci)
    fmt.Print("\n\n")
    fmt.Print("\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}