Friday, September 13, 2019

AREA AND CIRCUMFERENCE OF A CIRCLE USING QBASIC

A simple program that will ask the user to give the radius of the circle and then the program will compute and display the area and circumference of the circle.

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
LET pie = 3.14
PRINT "AREA AND CIRCUMFERENCE OF A CIRCLE USING QBASIC"
PRINT
PRINT "Created By Jake R. Pomperada"
PRINT
INPUT "Give radius of circle"; r
a = pie * r ^ 2
c = 2 * pie * r
PRINT
PRINT "The area of the circle is"; a
PRINT
PRINT "The circumference of the circle is"; c
PRINT
PRINT "End of Program"
END



Basic Math Operations in Visual Basic 6

In this article, I would like to share with you a sample program that will ask two numbers and then the program will compute the sum, difference, product and quotient of two given numbers using Microsoft Visual Basic 6.

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()
Dim sum, multiply, difference, quotient As Integer

sum = Val(Text1.Text) + Val(Text2.Text)
multiply = Val(Text1.Text) * Val(Text2.Text)
difference = Val(Text1.Text) / Val(Text2.Text)
quotient = Val(Text1.Text) * Val(Text2.Text)

Label3.Caption = "The sum is " & sum
Label4.Caption = "The product is " & product
Label5.Caption = "The difference is " & difference
Label6.Caption = "The quotient is " & quotient

End Sub

Private Sub Command2_Click()
End
End Sub




Login Timer in Visual Basic 6

Here is a simple login time in Visual Basic 6 written by my close friend, business partner, and fellow software engineer Sir Larry Emol. A login timer that can be used to protect your application from intruders.

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

 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, "Password"
    Exit Sub
    End If
           
            
If rstUserAcct.Fields("Password") = Text2.Text Then
            
                Unload Me
                Mainform.Show
                
Else
MsgBox "Invalid Password!", vbExclamation, "Sample App"
End If
End Sub

Private Sub Timer1_Timer()
 Label1.Caption = Label1.Caption - 1
    If Label1.Caption = 0 Then
        MsgBox "Login timeout!", vbInformation, "Login"
        End
    End If
End Sub




US Dollar To Philippine Peso Currency Using Structures Using Golang


Write a program that will ask the user to give currency values in US Dollars and Philippine Peso. The program will convert the US Dollars into its Philippine Peso equivalent using structures using 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

/* dollar_peso.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     :August 7, 2019  Wednesday  5:45 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"

type money_val struct {
peso float64
us_dollar float64
}

func main() {

var num money_val

fmt.Print("\n")
fmt.Print("\tUS Dollar To Philippine Peso Currency Using Structures")
fmt.Print("\n\n")
fmt.Print("\tEnter value is US Dollar : ")
fmt.Scanf("%f",&num.us_dollar)
fmt.Print("\tEnter the rate of Philippines Peso Today : ")
fmt.Scanf("%f",&num.peso)
convert := (num.us_dollar * num.peso)
fmt.Print("\n")
fmt.Printf("\t$%0.2f US Dollar To Phil. Peso is PHP %0.2f",num.us_dollar,convert)
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}





Reading a Text File in C++

Here is a sample program that I wrote before in learning how to store text file in C++.

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



Program Listing

text.cpp

#include <fstream>
#include <iostream>
#include <string>

using namespace std;

int main()
{
  string str1,str2,str3;
  char c1;
  ifstream in_file;
  
  cout << "Reading a Text File in C++";
  
  in_file.open( "demo.txt" );   
  
  in_file>> str1;                 
  in_file>> str2;                     
  in_file>> c1;                     
  in_file>> str3;
  cout<<"str1 = "<< str1 <<"\n";
  cout<<"str2 = "<< str2 <<"\n";
  cout<<"str3 = "<< str3 <<"\n";
  cout<<"c1 = "<< c1 <<"\n";
  
  in_file.close();                 
  system("pause");
  return 0;
}



Remove Vowels in a String in C


Write a program that will ask the user to give a string or a sentence and then program will remove vowels from the string or a sentence and display the result on the screen using 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 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

remove_vowels.c

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

int main() {
    char arr1[100], temp[100], c;
    char *ptr;
    int count=0, j = 0;
    printf("\n\n");
    printf("\tRemove Vowels in a String");
    printf("\n\n");
    printf("\tEnter A String : ");
    gets(arr1);
    ptr = arr1;
    for(count = 0;count < strlen(ptr);count++) {
        c = ptr[count];
        if(c != 'a' && c != 'e' && c != 'i' && c != 'o' && c != 'u' && c != 'A' && c != 'E' && c != 'I' && c != 'O' && c != 'U') {
            temp[j] = c;
            j++;
        }
    }
    printf("\n\n");
    printf("\tOriginal String:");
    printf("\n\n");
    printf("\t%s",arr1);
    printf("\n\n");
    printf("\tAfter Eliminating Vowels From String:");
    printf("\n\n\n");
    printf("\t");
    for(count = 0;count < j;count++) {
         printf("%c",temp[count]);
    }
printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
}



Thursday, September 12, 2019

Hello World in JavaScript

In this article, I would like to share with you a sample program in JavaScript to display a Hello World and my name using Alert Dialog box.

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

<html>
  <title> 
    Hello World in JavaScript
  </title>
 <body>
  <script>
  alert("Hello World in JavaScript\nBy Mr. Jake Rodriguez Pomperada,MAED-IT");
  </script>
 </body>
 </html>


Friday, September 6, 2019

Leap Year Checker Using Structures 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 structures using 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

/* leap_year.a.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT
   Date     : August 1, 2019  Thursday  9:00 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"

type check_leap_year struct {
a int
}


func main(){
var year check_leap_year

fmt.Print("\n")
fmt.Print("\tLeap Year Checker Using Structures")
fmt.Print("\n\n")
fmt.Print("\tGive a Year : ")
fmt.Scanln(&year.a)
if(((year.a % 4 == 0) && (year.a % 100 !=0)) || (year.a % 400==0)) {
fmt.Print("\n")
fmt.Print("\tThe given year ")
fmt.Printf("%d",year.a)
fmt.Print(" is a LEAP year.")
} else {
fmt.Print("\n")
fmt.Print("\tThe given year ")
fmt.Printf("%d",year.a)
fmt.Print(" is NOT a LEAP year.")
}
fmt.Print("\n\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}




Legal Age Checker Using Structures Using Golang

Write a 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 structures using 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

/* legal_age__structures.go
   Author   : Mr. Jake Rodriguez Pomperada,MAED-IT
   Date     : August 6, 2019    Tuesday  4:23 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"

type check_age struct {
age int
}

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

}