Thursday, February 14, 2019

Positive and Negative Number Checker Using Switch in Python

A simple program that I wrote using Python to check if the given number is a positive or negative number.  The code is very easy to understand and use.  I wrote this code for my the future book that I am writing about python programming I am still a beginner and learner on Python.

  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

def pos_neg(x ):
    switcher = {
            0 : "is a Positive Number.",
             }
    return switcher.get(x,"is a Negative Number.")

print();
print("\tPositive and Negative Number Checker Using Switch");
print();
x= int(input("\tGive a number : "));
display = x;
print();
if (x >=0):
    x = 0
else:
    x =1
print("\tThe given number %d" %display,pos_neg(x));
print();
print("\tEND OF PROGRAM");




Tuesday, February 12, 2019

Two Dimensional Arrays of Mobile Numbers in Java

Here is a simple program that I wrote using Java two dimensional arrays to populate the list of mobile numbers. The code is very simple easy to understand.

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

package two_arrays;

class two_arrays {
public static void main(String args[])
{    
long [][] mobile_no = new long[3][2];
System.out.println();
System.out.println("Two Dimensional Arrays of Mobile Numbers");
System.out.println();
mobile_no[0][0] =221971362; 
mobile_no[0][1] =915521365;
mobile_no[1][0] =628088942; 
mobile_no[1][1] =259417206;
mobile_no[2][0] =530859708; 
mobile_no[2][1] =758310922;

for (int row = 0; row < mobile_no.length; row++) { 
        for (int col = 0; col < mobile_no[row].length; col++)
{
System.out.print("\t" + mobile_no[row][col]);
}
  System.out.println();    
}
 
System.out.println();
System.out.println("\tEND OF PROGRAM");
System.out.println();
}
}

Friday, February 8, 2019

Odd and Even Numbers Using For Loop Statement In Python

A very simple program that I wrote using Python as my programming language to ask the user to give a number and then the program will display the list of odd and even numbers 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



Sample Program Output


Program Listing

# Rollyn M. Moises and Jake R. Pomperada
# even_odd.py
# February 8, 2019  Friday
# Bacolod City, Negros Occidental
print();
print("\tOdd and Even Numbers Using For Loop Statement");
print();
value = int(input("\tGive a Number : "))
print();
print("\tList of EVEN Numbers")
print();
for a in range(value):
 if(a % 2 == 0):
     print("\t%d" % a, end=" ");
print("\n");
print('\t');
print("\tList ODD Numbers");
print();
for a in range(value):
     if (a % 2 != 0):
       print("\t%d" % a, end=" ");
print("\n");
print("\tEND OF PROGRAM");



Wednesday, February 6, 2019

POSITIVE AND NEGATIVE NUMBER CHECKER IN PYTHON

Here is a simple code that I wrote in Python to check for positive and negative number given by the user.

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

# February 5, 2019
# Bacolod City, Negros Occidental
print()
print("\tPOSITIVE AND NEGATIVE NUMBER CHECKER");
print()
num_value  = int(input('\tGive a Number :  '))
print()

if (num_value >=0) :
    print("\tThe given number %d is a Positive Number."% num_value)

if (num_value<0) :
    print("\tThe given number %d is a Negative Number." % num_value)

print();
print("\tEND OF PROGRAM");
print("\n\n");




Year Level Checker in Python

Here is a simple program that I wrote to check the year level of the student using Python.

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


# money_bills.py
# February 4, 2019
# Bacolod City, Negros Occidental
print();
print("\tYear Level Checker");
print();
year_level = int(input("\tWhat is your year level? "));
print();
if (year_level == 1) :
  print("\tThe given year level is ",year_level,'.');
  print();
  print("\tYou are belong to Freshmen.");

if (year_level == 2) :
  print("\tThe given year level is ",year_level,'.');
  print();
  print("\tYou are belong to Sophomore.");

if (year_level == 3) :
  print("\tThe given year level is " ,year_level,'.');
  print();
  print("\tYou are belong to Juniors.");

if (year_level == 4) :
  print("\tThe given year level is " ,year_level,'.');
  print();
  print("\tYou are belong to Seniors.");
print();
print("\tEND OF PROGRAM");




Friday, February 1, 2019

Addition of Three Numbers Using Onkeyup in JavaScritpt

A simple program that I wrote using Javascript using Onkeyup event to add the sum of the three numbers and display the result on the screen. I hope you will find my work useful. Thank you.

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>
<body>
<script type="text/javascript">
function isNumber(evt) {
    evt = (evt) ? evt : window.event;
    var charCode = (evt.which) ? evt.which : evt.keyCode;
    if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        return false;
    }
    return true;
}

function getValues(){
  var initial_value =0;
  if (document.getElementById('one').value==''){
  document.getElementById('display').value =initial_value;
  } else if (document.getElementById('two').value=='' ) {
document.getElementById('display').value =initial_value;
  }
else if (document.getElementById('three').value=='' ) {
document.getElementById('display').value =initial_value;
}

var numVal1=parseInt(document.getElementById("one").value);
var numVal2=parseInt(document.getElementById("two").value);
var numVal3=parseInt(document.getElementById("three").value);
  sum = numVal1 + numVal2 + numVal3;
   document.getElementById("display").value = sum;
}
</script>
<style>
input.numbox{
width:30px;
height:20px;
}
textarea.mainbox{
width:200px;
height:100px;
}
</style>
<br>
<h2> Addition of Three Numbers Using Onkeyup in JavaScritpt </h2>
First Value
<input class="numbox" type="text" id="one" value="0"   
onkeypress="return isNumber(event)" onkeyup="getValues()" /><br/>
Second Value
<input class="numbox" type="text" id="two" value="" 
onkeypress="return isNumber(event)" onkeyup="getValues()"/><br/>
Third Value
<input class="numbox" type="text" id="three" value="" 
onkeypress="return isNumber(event)" onkeyup="getValues()"/><br/> 
<br/><br>
The total sum <input class="numbox" type="text" id="display"  value="0" readonly>

</body>
</html>



Sunday, January 27, 2019

Hyperlink Selector in PHP

A very simple program that I wrote to fix the code of my client in PHP to use a hyperlink to pass a value from one page to another page using HTML and PHP. I hope you will find my work useful. Thank you.

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

index.php

<html>
<title>
Hyperlink pass a value in PHP to another Page
</title>
<style>
body {
font-weight: bold;
font-family: arial;
    font-size:25px;

}
</style>
<body>
<br>
<h2> Hyperlink Selector in PHP </h2>
<br>
<a href="demo.php?data=Hamburger&data1=50"
title="Click here to choose Hamburger">
Hamburger
</a> <br><br>
&nbsp;&nbsp;PHP 50
<br><br>
<a href="demo.php?data=French Fries&data1=35"
title="Click here to choose French Fries">
French Fries
</a> <br><br>
&nbsp;&nbsp;PHP 35
<br><br>
<a href="demo.php?data=Spaghetti&data1=70"
title="Click here to choose Spaghetti">
Spaghetti
</a> <br><br>
&nbsp;&nbsp;PHP 70

</body>
</html>


demo.php

<html>
<title>
Hyperlink pass a value in PHP to another Page
</title>
<style>
body {
font-weight: bold;
font-family: arial;
    font-size:25px;

}
</style>
<body>
<br>
<h2> Selected Meal </h2>
<br>

<?php
    if(isset($_GET["data"]) && isset($_GET["data1"]))
    {
        $data = $_GET["data"];
        $data1 = $_GET["data1"];
    }

    echo "Meal  : ".$data;
echo "<br><br>";
    echo" Price : ".$data1;
?>

</html>

Thursday, January 24, 2019

Count Down Timer in Arduino

A simple program that I wrote using C in Arduino with the use of TM1637 seven-segment LCD display to perform count down. The code is very simple and easy to understand. I hope you will find my work useful. Thank you.

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

/* Countdown timer in Arduino using seven segment LED
 *  Written By Mr. Jake R. Pomperada,MAED-IT
 *  January 24, 2019     8:21 PM  Thursday
 *  Bacolod City, Negros Occidental
 *  jakerpomperada@gmail.com
 */
#include "TM1637.h"

#define CLK 3
#define DIO 2

TM1637 disp(CLK,DIO);

void setup()
{
  disp.set(5);
  disp.init(D4056A);
}

void loop() {
  int a=2000;

  while (a>=1 ) {
  disp.display(a);
  delay(20);
  a-=1;
  if (a==1) {
    break;
  }
  }
}


DOWNLOAD SOURCE CODE HERE



Monday, January 21, 2019

Swap of Two Numbers in Python

A very simple program that I wrote using Python to swap the arrangement 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


Program Listing

swap.py

print("@=====================================@")
print("        Swap of Two Numbers            ")
print("@=====================================@")
print("");
x = int(input("Enter First Value  : "))
y = int(input("Enter Second Value : "))
print("");
print("BEFORE SWAPPING")
print("");
print('The value of x before swapping: {}'.format(x))
print('The value of y before swapping: {}'.format(y))
temp = x
x = y
y = temp
print("");
print("AFTER SWAPPING")
print("");
print('The value of x after swapping: {}'.format(x))
print('The value of y after swapping: {}'.format(y))
print("")
print("===== THE END OF PROGRAM =====     ")



Offers Programming Services

Jake Rodriguez Pomperada,MAED-IT

Software Engineer | Teacher | Author | Entrepreneur

I am currently accepting IT Consulting jobs, software development, project management,system analysis and design, technical documentation writing, software quality assurance testing and documentation, website setup and maintenance, thesis and school project programming projects and assignments at a very affordable price, reliable technical support and fast service.

My specialize programming language are the following Arduino, Java EE,Java SE, C,C++,C#, PHP,Python, Pascal, JavaScript, Visual Basic 6.0 and Visual Basic NET.

In terms of database management software I use Visual Foxpro, MS Access,MySQL,Oracle and MariaDB.

Presently I also learning and working on Arduino projects.





A sample of Projects in Arduino that I have done so far

I can do also website development using HTML,CSS, JQuery,AngularJS and WordPress.  I also managing my blog in this address http://www.jakerpomperada.blogspot.com which all about computer programming in general.

If interested to my services kindly text or call me in this number here in the Philippines at

0917-3084-360.
You can send me an email at
jakerpomperada@jakerpomperada.com
jakerpomperada@gmail.com
jakerpomperada@yahoo.com
jakerpomperada@aol.com