Wednesday, February 6, 2019

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


Mass and Time Converter in C#

A very simple menu driven program written in C# to convert mass and time.

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mass_Time_Converter
{
    class Program
    {
        static void Main(string[] args)
        {
            bool repeat = true;
            int num;
            int num1;
            int con;
            while (repeat)
            {
                Console.WriteLine("\n");
                Console.WriteLine("\t===== MAIN MENU =====");
                Console.WriteLine("\n");
                Console.WriteLine("\tSelect one to convert")
                Console.WriteLine("\n");
                Console.WriteLine("\t[1] Mass Conversion");
                Console.WriteLine("\t[2] Time Conversion");
                Console.WriteLine("\n");
                Console.Write("\tYou choose: ");
                con = Convert.ToInt32(Console.ReadLine());
                if (con == 1)
                {
                    Console.WriteLine("\tConvert Mass");
                    Console.WriteLine("\t1. Kilograms to Grams");
                    Console.WriteLine("\t2. Grams to Miligrams");
                    Console.WriteLine("\t3. Milligrams to Micrograms");
                    Console.WriteLine("\n");
                    Console.Write("\tYou choose what to convert: ");
                    num = Convert.ToInt32(Console.ReadLine());
                    if (num == 1)
                    {
                        Console.Write("\tEnter Number: ");
                        num1 = Convert.ToInt32(Console.ReadLine());
                        int ans = num1 * 1000;
                        Console.WriteLine(+num1 + " kilogram/s is equivalent to " + ans + " gram/s.");
                        Console.WriteLine("\tDo you want to convert again?");
                        Console.WriteLine("\n");
                        Console.WriteLine("\tContinue Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                            Console.WriteLine("\tThank you for using this software.");
                        }
                    }
                    else if (num == 2)
                    {
                        Console.Write("\tEnter Number: ");
                        num1 = Convert.ToInt32(Console.ReadLine());
                        int ans1 = num1 * 1000;
                        Console.WriteLine(+num1 + " gram/s is equivalent to " + ans1 + " milligram/s.");
                        Console.WriteLine("\tDo you want to convert again?");
                        Console.WriteLine("\n");
                        Console.WriteLine("\tContinue Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                            Console.WriteLine("Thank you!");
                        }
                    }
                    else if (num == 3)
                    {
                        Console.Write("\tEnter Number: ");
                        num1 = Convert.ToInt32(Console.ReadLine());
                        int ans2 = num1 * 1000;
                        Console.WriteLine(+num1 + " milligram/s is equivalent to " + ans2 + " microgram/s.");
                        Console.WriteLine("\tDo you want to convert again?");
                        Console.WriteLine("\n");
                        Console.WriteLine("\tContinue Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                            Console.WriteLine("\tThank you for using this Software");
                        }
                    }
                    else
                    {
                        Console.WriteLine("\tError! Operation Not Found!");
                        Console.WriteLine("\tDo you want to convert again?");
                        Console.WriteLine("\tContinue Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                            Console.WriteLine("\tThank you!");
                        }
                    }
                }

                else if (con == 2)
                {
                    Console.WriteLine("Choose what to convert");
                    Console.WriteLine("1. Minutes to Seconds");
                    Console.WriteLine("2. Hours to Minutes");
                    Console.WriteLine("3. Days to Hours");
                    Console.Write("You choose what to convert: ");
                    num = Convert.ToInt32(Console.ReadLine());
                    if (num == 1)
                    {
                        Console.Write("Enter Number: ");
                        num1 = Convert.ToInt32(Console.ReadLine());
                        int ans3 = num1 * 60;
                        Console.WriteLine(+num1 + " minute/s is equivalent to " + ans3 + " second/s.");
                        Console.WriteLine("Do you want to convert again?");
                        Console.WriteLine("Yes or No?");
                        string ask = Console.ReadLine();
                        if (ask.ToLower() != "yes")
                        {
                            repeat = false;
                        }
                        else
                        {
                            Console.WriteLine("Thank you!");
                            Console.ReadKey();
                        }
                    }
                }
            }
        }
    }
}