Thursday, August 29, 2019

Area and Circumference of Circle Using Structures in Golang

Write a program to solve the area and circumference of the circle using functions and structures 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

/* area_circle.go
   Author : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date   : August 7, 2019   Wednesday  5:04 AM
   Emails : jakerpomperada@gmail.com and jakerpomperada@yahoo.com
*/

package main

import "fmt"

const PI float64 = 3.14

func solve_area(radius float64 ) float64 {
return PI * radius * radius
}

func solve_ci(radius float64 ) float64 {
return 2 * PI * radius
}

type check_circle struct {
rad float64

}


func main(){
var num check_circle
fmt.Print("\n")
fmt.Print("\tArea and Circumference of Circle Using Structures")
fmt.Print("\n\n")
fmt.Print("\tEnter radius of Circle : ")
fmt.Scanln(&num.rad)
area := solve_area(num.rad)
fmt.Print("\n")
fmt.Print("\tArea of Circle is : ")
fmt.Printf("%0.2f ",area)
ci := solve_ci(num.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")
}


Three Attempts Login System in Visual Basic 6 and Microsoft Access

Here is a copy that is written by my business partner, a close friend and fellow software engineer Sir Larry Emol to ask the user to login the system after three attempts it will lock the user account. This program is written using Visual Basic 6 and Microsoft Access as our database.


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


Private Sub Command1_Click()
On Error Resume Next
Static count As Integer
 Set rstUserAcct = New ADODB.Recordset
    If rstUserAcct.State = 1 Then rstUserAcct.Close
    rstUserAcct.Open "Select * from tblInfo where Username = '" & Text1.Text & "'", MyConn, adOpenDynamic, adLockBatchOptimistic
    
    
    If Me.Text1.Text = "" Then
    MsgBox "Enter Username", vbInformation, "Username"
    Me.Text1.SetFocus
    Exit Sub
    End If
    
    If Me.Text2.Text = "" Then
    MsgBox "Enter Password", vbInformation, "Password"
    Me.Text2.SetFocus
    Exit Sub
    End If
    
    If rstUserAcct.RecordCount = 0 Then
    MsgBox "Username not found", vbInformation, "Username"
    Exit Sub
    End If
           
    If rstUserAcct.Fields!Locked = True Then
    MsgBox "Password is Lock", vbInformation, "Contact Administrator"
    Exit Sub
    End If
            
If rstUserAcct.Fields("Password") = Text2.Text Then
            
                Unload Me
                Mainform.Show
                
Else
MsgBox "Invalid Password!", vbExclamation, "Sample App"
count = count + 1
Me.Tag = count
            If Me.Tag = 1 Then
                Me.Label2.Caption = "2 Attempts"
            ElseIf Me.Tag = 2 Then
                Me.Label2.Caption = "1 Attempts"
            ElseIf Me.Tag = 3 Then
                rstUserAcct.Fields!Locked = True
                rstUserAcct.UpdateBatch
            End If
End If
End Sub




Arithmetic Operators Using Structures in Golang


Write a program that will ask the user to give two numbers and then the program will perform addition, subtraction, multiplication, division, and modulus using structures.

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

/* arithmetic.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 7, 2019   Wednesday  5:10 AM
   Location : Bacolod City, Negros Occidental
   Emails : jakerpomperada@gmail.com and jakerpomperada@yahoo.com
*/

package main

import "fmt"

type check_math struct {
a int32
    b int32
}

func main(){
var val check_math
var  sum,difference,product,quotient,modulus int32

fmt.Print("\n")
fmt.Print("\tArithmetic Operators Using Structures")
fmt.Print("\n\n")
fmt.Print("\tGive the First  Value   : ")
fmt.Scanln(&val.a)
fmt.Print("\tGive the Second Value   : ")
fmt.Scanln(&val.b)

// Perform arithmetic operations here
sum         = (val.a + val.b);
difference  = (val.a - val.b);
product     = (val.a * val.b);
quotient    = (val.a / val.b);
modulus     = (val.a % val.b);

fmt.Print("\n")
fmt.Print("\t===== DISPLAY RESULTS =====")
fmt.Print("\n\n")
fmt.Print("\tThe sum of ",val.a," and ",val.b, " is ",sum,"\n")
fmt.Print("\tThe difference between ",val.a," and ",val.b, " is ",difference,"\n")
fmt.Print("\tThe product of ",val.a," and ",val.b, " is ",product,"\n")
fmt.Print("\tThe quotient between ",val.a," and ",val.b, " is ",quotient,"\n")
fmt.Print("\tThe modulus value of ",val.a," and ",val.b, " is ",modulus,"\n")
fmt.Print("\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}
 

Advanced Operating System and Networking By Jake Pomperada, Mark Allen M...

Wednesday, August 28, 2019

Greatest Common Divisor in Visual Basic NET

A simple program that I wrote using Visual Basic NET to ask the user two numbers and then it will compute the Greatest Common Divisor value.

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


Public Class Form1

    Public Shared Function GCD(ByVal a As Integer, ByVal b As Integer) As Integer
        If a = 0 Then
            Return b
        End If

        While b <> 0
            If a > b Then
                a -= b
            Else
                b -= a
            End If
        End While

        Return a
    End Function

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim A As Integer
        Dim B As Integer

        A = Val(TextBox1.Text)
        B = Val(TextBox2.Text)
        Dim gcd_results = GCD(A, B)

        Label3.Text = "The greatest common divisor is " & gcd_results & "."



    End Sub

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

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



Tuesday, August 27, 2019

Responsive Website Template

In this article, I would like to share with the work of my business partner, a close friend, and fellow software engineer Sir Larry Email. In this sample website template, it is already response which is adaptable in mobile devices such as smartphones, tablets, notebook, laptop and desktop computers.


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




Sum of All Integers in Turbo Basic

This program calculates the sum of all integers from 1 to 100 using Turbo Basic compiler from Borland International.

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


cls
Print "Sum of All Integers in Turbo Basic"
print
print "Written By Mr. Jake Rodriguez Pomperada"
print
Let S = 0
 For N = 1 to 100
  LET S = S+N
 Next N
 print "The total sum is " ;s
 End

Square a Number in Turbo Basic

This program prints all the numbers fro 1 to 10  along with their squares equivalent using Turbo Basic Compiler.

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

cls
Print "Square a Number in Turbo Basic"
print
print "Written By Mr. Jake Rodriguez Pomperada"
print
Print "Number ", "Number ^ 2"
 For N = 1 to 10
  print n, n ^ 2
 Next N
 End



Friday, August 23, 2019

Decimal To Binary Number Converter in Visual Basic NET

A simple program that will ask the user to give a value in decimal and then it will convert it into binary equivalent using Visual Basic NET.

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

Public Class Form1
    Public Shared Function DecimalToBinary(dec As Integer) As String
        If dec < 1 Then Return "0"

        Dim binStr As String = String.Empty

        While dec > 0
            binStr = binStr.Insert(0, (dec Mod 2).ToString())
            dec = Int(dec / 2)
        End While

        Return binStr
    End Function


    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim solve
        solve = DecimalToBinary(Val(TextBox1.Text))
        Label2.Text = "The equivalent in binary is " & solve
    End Sub

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

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


Decimal To Octal Converter in Visual Basic NET

A simple program that will ask the user to give a value in decimal and then it will convert it into octal equivalent using Visual Basic NET.

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

Public Class Form1
    Public Shared Function DecimalToOctal(dec As Integer) As String
        If dec < 1 Then Return "0"

        Dim octStr As String = String.Empty

        While dec > 0
            octStr = octStr.Insert(0, (dec Mod 8).ToString())
            dec = Int(dec / 8)
        End While

        Return octStr
    End Function


    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim solve
        solve = DecimalToOctal(Val(TextBox1.Text))
        Label2.Text = "The equivalent in octal is " & solve
    End Sub

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

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