Thursday, August 15, 2019

Civil Status Checker Using Pointers in Golang

Write a program that will ask the person to give their civil status based of the following value 1 - Single, 2 - Married, 3 - Divorsed,  4 - Annulled, 5 - Widow and 6 - Separated.   If the given year level of the student does not belong in the group it will display a message on the screen  Invalid Civil Status. Try Again !!! using pointers.

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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



Sample Program Output


Program Listing


/* civil_status_pointers.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 8, 2019  Thursday   3:43 PM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */

package main

import (
"bufio"
"fmt"
"os"
)

var civil_status int

func main(){

consoleReader := bufio.NewReader(os.Stdin)

fmt.Print("\n");
fmt.Print("\tCivil Status Checker Using Pointers");
fmt.Print("\n\n");
fmt.Print("\tWhat is your name? : ");
user_name, _ := consoleReader.ReadString('\n')
fmt.Print("\tWhat is your civil status? : ");
fmt.Scanln(&civil_status)

check_civil := &civil_status
if (*check_civil == 1) {
fmt.Print("\n");
fmt.Print("\tHello ",user_name,"\n");
fmt.Print("\tYou are still Single.");
}
if(*check_civil == 2) {
fmt.Print("\n");
fmt.Print("\tHello ",user_name,"\n");
fmt.Print("\tYou are already Married.");
}
if(*check_civil == 3) {
fmt.Print("\n");
fmt.Print("\tHello ",user_name,"\n");
fmt.Print("\tYou are already Divorsed.");
}
if(*check_civil == 4) {
fmt.Print("\n");
fmt.Print("\tHello ",user_name,"\n");
fmt.Print("\tYou are already Annulled.");
}
if(*check_civil == 5) {
fmt.Print("\n");
fmt.Print("\tHello ",user_name,"\n");
fmt.Print("\tYou are already Widow.");
}
if(*check_civil == 6) {
fmt.Print("\n");
fmt.Print("\tHello ",user_name,"\n");
fmt.Print("\tYou are already Separated.");
}

if (*check_civil <1 || *check_civil >6) {
fmt.Print("\n");
fmt.Print("\tInvalid Civil Status. Try Again !!!");
}
fmt.Print("\n\n");
fmt.Print("\tEnd of Program");
fmt.Print("\n");
}



Qualified to Vote Program Using Pointers in Golang

Write a program using an if-else statement that will ask the person's name and age. The program will greet the person by making the person's name display in upper case format  and check and determine if the given age of the person is qualified to vote or not and display the results on the screen using pointers.

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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



Sample Program Output


Program Listing


/* legal_age_pointers.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 8, 2019  Thursday   3:31 PM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */

package main

import (
"bufio"
"fmt"
"os"
"strings"
)

func main() {

consoleReader := bufio.NewReader(os.Stdin)

var age int

fmt.Print("\n")
fmt.Print("\tQualified to Vote Program Using Pointers")
fmt.Print("\n\n")
fmt.Print("\tWhat is your name?   : ")
user_name, _ := consoleReader.ReadString('\n')
fmt.Print("\n")
fmt.Print("\tWhat is your age?    : ")
fmt.Scanln(&age)

age_val := &age;

name_display := strings.ToUpper(user_name)

fmt.Print("\n")

if (*age_val >= 18) {
fmt.Println("\tHello", name_display)
fmt.Print("\tAt the age of ",age, " years old. You are qualified to vote.")
} else {
fmt.Println("\tHello", name_display)
fmt.Print("\tAt the age of ",age, " years old. Sorry you are still a minor.\n")
fmt.Print("\tYou are not yet qualified to vote at your age.")
}

fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}














Leap Year Checker Using Pointers Using Golang


Write a program that will ask the user to give a year and then the program will determine if the given year is a leap year or not a leap year using pointers.

 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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Sample Program Output


Program Listing

/* leap_year_pointers.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 8, 2019  Thursday   2:24 PM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */


package main

import "fmt"


func main(){

var year int

fmt.Print("\n")
fmt.Print("\tLeap Year Checker Using Pointers")
fmt.Print("\n\n")
fmt.Print("\tGive a Year : ")
fmt.Scanln(&year)

check := &year

if(((*check % 4 == 0) && (*check % 100 !=0)) || (*check % 400==0)) {
fmt.Print("\n")
fmt.Print("\tThe given year ")
fmt.Printf("%d",year)
fmt.Print(" is a LEAP year.")
} else {
fmt.Print("\n")
fmt.Print("\tThe given year ")
fmt.Printf("%d",year)
fmt.Print(" is NOT a LEAP year.")
}
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}





Fahrenheit To Celsius Converter Using Pointers in Golang

Write a program that will ask the user to give temperature in celsius and then the program will convert it into Fahrenheit equivalent using pointers.

 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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Sample Program Output


Program Listing

/* temperature_pointers.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 8, 2019   Thursday   5:56 AM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails : jakerpomperada@gmail.com and jakerpomperada@yahoo.com
*/

package main

import "fmt"

func celsius(temp float64) float64 {
  return (temp - 32) * 5 / 9;
}

func main(){
var temp_given  float64
var display_result float64

fmt.Print("\n")
fmt.Print("\tFahrenheit To Celsius Converter Using Pointers")
fmt.Print("\n\n")
fmt.Print("\tGive Temperature in Fahrenheit :  ")
fmt.Scanln(&temp_given )

cel := &temp_given

display_result = celsius(*cel)

fmt.Print("\n")
fmt.Print("\tThe temperature in Celsius is ")
fmt.Printf("%0.2f ",display_result)
fmt.Print("Degree's Celsius.")
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}





Swap Two Numbers Using Pointers in Golang

Write a program that will ask the user to give two numbers and then the program will swap the arrangement of the two numbers and display the result on the screen using pointers.

 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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Sample Program Output


Program Listing

/* swap.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 8, 2019  Thursday  5:49 AM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@gmail.com and jake_pomperada@tup.edu.ph
 */

package main

import "fmt"

func main() {

var val1,val2,temp int32

fmt.Print("\n")
fmt.Print("\tSwap Two Numbers Using Pointers")
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")
fmt.Print("\t===== BEFORE SWAPPING ===== ")
fmt.Print("\n\n")
fmt.Print("\tA = ",val1," and B = ",val2)
fmt.Print("\n\n")

a := &val1;
b := &val2;

temp = *a;
*a = *b;
*b = temp;

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





Area and Circumference of Circle Using Pointers in Golang

Write a program to solve the area and circumference of the circle using pointers in Golang.

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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



Sample Program Output


Program Listing

/* circle_pointers.go
   Author : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date   : August 8, 2019   Thursday  5:39 AM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   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("\tArea and Circumference of Circle Using Pointers")
fmt.Print("\n\n")
fmt.Print("\tEnter radius of Circle : ")
fmt.Scanln(&rad)

radius := &rad

area = PI * *radius * *radius

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("\tEnd of Program")
fmt.Print("\n")
}





Leap Year Checker in Visual Basic NET

A simple program that I wrote using Visual Basic NET that will ask the user a year and then the program will check if the given year is a leap year or not a leap year.

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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






Sample Program Listing


Program Listing

Public Class Form1

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        If MsgBox("Are you sure you want to quit?", MsgBoxStyle.YesNo Or MsgBoxStyle.DefaultButton2, "Close application") = Windows.Forms.DialogResult.Yes Then
            Me.Close()
        End If
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim bLeapYear As Boolean
        Dim display_year As Integer
        Dim results As String


        If String.IsNullOrEmpty(TextBox1.Text) Then
            MessageBox.Show("Cannot be Empty")
            TextBox1.Focus()
        Else

            display_year = Val(TextBox1.Text)
            bLeapYear = Date.IsLeapYear(display_year)

            If (bLeapYear = True) Then
                results = "The given years " & display_year & " is a LEAP year."

            Else
                results = "The given years " & display_year & " is NOT a LEAP year."
            End If
            MessageBox.Show(results)
        End If

    End Sub

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

End Class



Wednesday, August 14, 2019

Odd and Even Numbers in QBasic

Here is a sample program that will ask the user to give a number and then the program will check and determine if the given number is odd or even using QBasic.

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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



Sample Program Output


Program Listing

PRINT
PRINT "Odd and Even Number Checker in QBasic"
INPUT "Give Any Number : "; N
IF N MOD 2 = 0 THEN
    PRINT "The given number "; N; " is an EVEN Number."
ELSE
    PRINT "The given number "; N; " is an ODD Number."
END IF
PRINT
PRINT "End of Program"
END