Monday, July 1, 2019

Money Bill Checker in Golang


Write and Design a program that will ask the user to give an amount and then the program will check and determine the money bill denomination based on the amount given by the user. The money bill denomination to be used in the program will be 500,100,50,20,10,5,2 and 1 bills.

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

/* bills.go
   Written By :
   Jake R. Pomperada
    April 3, 2019 Wednesday
   Bacolod City, Negros Occidental
*/
package main

import "fmt"

var amount int32

var note1000, note500, note100, note50 int32
var note20,note10 ,note5, note2, note1 int32

func main(){
fmt.Print("\n");
fmt.Print("\tMoney Bill Checker");
fmt.Print("\n\n");
fmt.Print("\tEnter amount: ")
    fmt.Scanln(&amount)
if (amount >= 1000) {
note1000 = amount/1000;
amount -= note1000 * 1000;
}
if (amount >= 500) {
note500 = amount/500;
amount -= note500 * 500;
}
if amount >= 100 {
note100 = amount/100;
amount -= note100 * 100;
   }
if(amount >= 50) {
note50 = amount/50;
amount -= note50 * 50;
}
if(amount >= 20){
note20 = amount/20;
amount -= note20 * 20;
}
if(amount >= 10) {
note10 = amount/10;
amount -= note10 * 10;
}
if(amount >= 5) {
note5 = amount/5;
amount -= note5 * 5;
}
if(amount >= 2) {
note2 = amount /2;
amount -= note2 * 2;
}
if (amount >= 1) {
note1 = amount;
}
fmt.Print("\n");
fmt.Print("\t===== DISPLAY RESULT =====\n\n");
fmt.Print("\t  Total number of notes  \n\n");
fmt.Print("\tPHP 1000 = ",note1000 ,"\n");
fmt.Print("\tPHP 500 =  ",note500,"\n");
fmt.Print("\tPHP 100 = ",note100,"\n");
fmt.Print("\tPHP 50 =  ",note50,"\n");
fmt.Print("\tPHP 20 =  ",note20,"\n");
fmt.Print("\tPHP 10 =  ",note10,"\n");
fmt.Print("\tPHP 5 =   ",note5,"\n");
fmt.Print("\tPHP 2 =   ",note2,"\n");
fmt.Print("\tPHP 1 =   ",note1,"\n");
fmt.Print("\n");
fmt.Print("\tEnd of Program");
fmt.Print("\n\n");
}


Electricity Billing System in C

About this code, I called it Electricity Billing System written entirely in C language. It is a database driven application that uses text files and struct data structure to store and manipulate records in the database. I created this code to show that it is not difficult to write database application using C 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





Payroll System Using Swing in Java and MS Access


About this code, I called it  Payroll System  Using Swing in Java and MS Access it is a database driven application I wrote in Java. The Front End is Java and the depository of Data is MS Access as the Back End. It has also navigational buttons to navigate records in the Database. I have also incorporated the compute button to perform the calculation. This code is very useful for those you are new in JDBC programming in Java.

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



Count Capital and Small Letters in JavaScript

In this sample program, we will show you how to count the capital and small letters in a given sentence using JavaScript. 

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>
  <head>
        <title>Count Capital and Small Letters in JavaScript</title>
         <style>
        body{
font-family:arial;
font-size:15px;
font-weight:bold;
}  
</style>
        <script language="javascript">
function count_all()
                {
                         if (document.getElementById("str").value == '') {
alert("Textbox is Empty !!! Please provide some string.");
document.getElementById("str").value = "";
document.getElementById("upper_str").value = "";
document.getElementById("lower_str").value = "";
document.getElementById("str").focus();
                        }
else {
var str1 = document.getElementById("str").value;
    var numUpper = str1.length - str1.replace(/[A-Z]/g, '').length;  
var numLower = str1.length - str1.replace(/[a-z]/g, '').length;  
                        var result = document.getElementById("upper_str");
var result2 = document.getElementById("lower_str");
                        result.value = numUpper;
result2.value = numLower;
}
                }
function clear_all()
{
document.getElementById("str").value = "";
document.getElementById("upper_str").value = "";
document.getElementById("lower_str").value = "";
document.getElementById("str").focus();
}
        </script>
  </head>
  <body>
      <br><br>
      <h3>Count Capital and Small Letters in JavaScript</h3>
   <br>
        Enter a String <input type="text" id="str" name="str" value="" size="30" autofocus/>
        <br><br>
        <input type="button" name="Submit" value="Count" onclick="javascript:count_all()"
title="Click here to count the capital and small letters."/>
&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" name="Submit" value="Clear" onclick="javascript:clear_all()"
title="Click here to clear the text box."/>
<br><br><br><br>
        Number of Capital Letter(s) is  <input type="text" id="upper_str" name="upper_str" size="3"/>
<br><br>
Number of Small Letter(s) is  <input type="text" id="lower_str" name="lower_str" size="3"/>
  </body>
</html>

Sum of Two Numbers in JavaScript

In this article, I would like to share with you a sample program using HTML forms and JavaScript that allows the user to find the sum of the two numbers.

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>
  <head>
        <title>Addition of Two Numbers in JavaScript</title>
        <script language="javascript">
                function addNumbers()
                {
                        var val1 = parseInt(document.getElementById("value1").value);
                        var val2 = parseInt(document.getElementById("value2").value);
                        var ansD = document.getElementById("answer");
                        ansD.value = val1 + val2;
                }
        </script>
  </head>
  <body>
        value1 = <input type="text" id="value1" name="value1" value="1"/>
        value2 = <input type="text" id="value2" name="value2" value="2"/>
        <input type="button" name="Sumbit" value="Click here" onclick="javascript:addNumbers()"/>
        Answer = <input type="text" id="answer" name="answer" value=""/>
  </body>
</html>

Sunday, June 30, 2019

Fibonacci Series Using For Loop Statement in Python

Write a program will ask the user to give a number  and then the  program to print fibonacci series using for loop statement.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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

print()
print("\tFibonacci Series Using For Loop Statement")
print()
num = int(input("\tGive a number of digits you want in series (minimum 2): "))
first = 0
second = 1
print()
print("\tfibonacci series is:")
print()
print("\t",first,",", second, end=", ")
for i in range(2, num):
    next = first + second
    print(next, end=", ")
    first = second
    second = next
print("\n\n")
print("\tEND OF PROGRAM");

Factorial Solver Using For Loop Statement Using Python


Write a program to ask the user to give a number and then the program will compute and display the factorial value of the given number using for loop statement using Python programming language.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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


print()
print("\tFactorial Solver Using For Loop Statement")
print()
factorial = 1
num = int(input("\tGive a Number : "))
for i in range(1, num + 1):
    factorial = (factorial* i)
print()
print("\tThe factorial value of ", num, " is ", factorial,'.')
print()
print("\tEND OF PROGRAM");

Continue Statement Demonstration in Python

Write a program to demonstrate the use of continue statement using Python programming language.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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

# continue_example.py
# Rollyn M. Moises and Jake R. Pomperada
# February 26, 2019    Tuesday
# Bacolod City, Negros Occidental

number = 1

print();
print("\tContinue Statement Demonstration");
print();
#declaring a tuple
num = (1,2,3,4,5,6,7,8,9,10)
count = 10
while (count>0):
  count = count-1
  if count == 5:
     continue
  print ("\tList of values %d." % num[count])
print();
print("\tEND OF PROGRAM");

Break Statement Demonstration in Python

Write a program that will demonstrate the use of break statement in Python.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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

# break_example.py
# Rollyn M. Moises and Jake R. Pomperada
# February 26, 2019    Tuesday
# Bacolod City, Negros Occidental

number = 1

print();
print("\tBreak Statement Demonstration");
print();
for number in range(10):
     number = number + 1
     print("\tThe Number is %d." % number);
     if number == 6:
        break
print();
print('\tOut of the loop')
print();
print("\tEND OF PROGRAM");

Find Sum Of Elements In A List in Python

Here is the sample program to find the sum of elements in a list in Python.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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

ListSum=[]


num=int(input("How many numbers: "));
for n in range(num):
    numbers=int(input("Enter numbers: "));
    ListSum.append(numbers)
print("Sum of numbers in list: ",sum(ListSum))

Positive or Negative Number Checker in JQuery

A simple program that I wrote using JQuery to check for Positive or Negative Number.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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

<html>
<head>
<title> Positive or Negative Number Checker in JQuery </title>
<script src="jquery.js"></script>
<style>
body {
 font-family: arial;
 font-size:15px;
 font-weight:bold;
 }
 .input_bold {
font-weight: bold;
 font-size:15px;
 color: red;
}
</style> 
<script>
$(document).ready(function(){
 $("#check_it").click(function(){
 var num = $("#num_value").val();
 if(jQuery.isNumeric(num) == false){
alert('Please enter numeric value');
 $('#num_value').val('');
 $("#results").val('');
$('#num_value').focus();
 }
 else if (num>= 0)
 {
remarks = num+ " is a Positive Number.";
$("#results").val(remarks);
 }
 else {
remarks = num+ " is a Negative Number.";
$("#results").val(remarks);
 }
 });
$("#clear").click(function(){
$("#num_value").val('');
$("#results").val('');
$("#num_value").focus();
 });
 
 
 });
 </script>
</head>
<body>
<form>
Give a Number
<input type="text" id="num_value" size="3"autofocus/><br><br>
The result
<input type="text" id="results" class="input_bold" size="30" readonly/><br>
<br><br>
<button type= "button" id ="check_it">Check </button>
     
<button type= "button" id ="clear">Clear </button>
</form>
</body>
</html>

Average and Percentage of Five Subjects Solver Using Golang

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

// 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")
}