Wednesday, May 20, 2020

Addition of Three Numbers Using Subroutine in Perl

I wrote this program to ask the user to give three numbers and then the program will compute the sum of three numbers using subroutine using the Perl programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing


# pass_value_subroutine.pl
# Author   : Jake R. Pomperada,MAED-IT,MIT
# Date     : April 7, 2020   Tuesday  11:34 AM
# Location : Bacolod City, Negros Occidental
# Email    : jakerpomperada@gmail.com
# Website  : http://www.jakerpomperada.com
print("\n");

# Subroutine to add the two values given 
# by the user.

sub Sum_All {
   $sum = 0;

   foreach $item (@_) {
      $sum += $item;
   }
   printf("\n");
   printf("\tThe sum of %d, %d and %d is %d.",$num1,$num2,$num3,$sum);
   print("\n\n");
   print("\t\tEnd of Program");
   print("\n");
}

sub Addition { 
    print("\tAddition of Three Numbers Using Subroutine in Perl");
    print("\n\n");
    print("\tEnter First Value  : ");
    chomp($num1=<STDIN>);
    print("\tEnter Second Value : ");
    chomp($num2=<STDIN>);
    print("\tEnter Third Value  : ");
    chomp($num3=<STDIN>);
    
    $sum = Sum_All($num1,$num2,$num3);
 } 

# Calling the Subroutine 
Addition();  

Reading Numbers from a Text File and removing leading zeros Using C++

A program in C++ written by my friend Tom to read a series of numbers from a text file and removing leading zeros.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

main.cpp

#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <sstream>

using namespace std;

void process_line(string& line);
vector<string> process_lines(const std::string& filename);
void output_lines(std::vector<std::string> &lines);

int main()
{
   vector<string> lines = process_lines("input.txt");
   output_lines(lines);
}

vector<string> process_lines(const std::string& filename)
{
   vector<string> lines;
   string line;

   ifstream src(filename);
   while (getline(src, line))
   {
     process_line(line);
     lines.push_back(line);
   }
   return lines;
}

void process_line(string& line)
{
   istringstream iss(line);
   ostringstream oss;
   int num;

   while(iss >> num)
     oss << num << ' ';

   line = oss.str();
}

void output_lines(std::vector<std::string> &lines)
{
   cout << "Output numbers without leading zeros\n";
   for (const string& s : lines)
     cout << s << '\n';
}

input.txt

1 2 3 4 5 6 7 8 9 10
01 002 03 0004 005 006 007 00008 0009 010


Monday, May 18, 2020

Product of Two in Java Using Getters and Setters in Java

A simple program to ask the user to give two numbers and then it will compute the product using getters and setters in Java programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing


package oop_java;

import java.util.Scanner;
/**
 * NetBeans IDE 8.2
 * @author Mr. Jake R. Pomperada
 * March 22, 2018  Thursday
 * Bacolod City, Negros Occidental
 */

public class ProductTwo {

 int val_a;
 int val_b;
 
 public int getVal_a() {
  return val_a;
 }


 public void setVal_a(int val_a) {
  this.val_a = val_a;
 }


 public int getVal_b() {
  return val_b;
 }


 public void setVal_b(int val_b) {
  this.val_b = val_b;
 }

 public int solveProduct()
 {
  return(val_a * val_b);
 }
 
 
 public static void main(String[] args) {
    
  Scanner input = new Scanner(System.in);
     
     ProductTwo num = new ProductTwo(); 
       
          System.out.println();
          System.out.println("Product of Two in Java Using Getters and Setters");
          System.out.println();
          System.out.print("Enter first value : ");
          num.val_a = input.nextInt();
          System.out.print("Enter second value : ");
          num.val_b = input.nextInt();

           num.setVal_a(num.val_a);
           num.setVal_b(num.val_b);
           num.getVal_a();
           num.getVal_b();
           
           num.solveProduct();
        
           System.out.println();
           System.out.print("The product of " +num.val_a + " and " + num.val_b
                   + " is " + num.solveProduct() + ".");
           System.out.println("\n");
           System.out.print("\t END OF PROGRAM");
           System.out.println("\n");
           input.close();
 }

}

Addition of Two Numbers Using OOP in Java

 I wrote this simple program in Java to ask the user to give two numbers and then the program will compute the total sum of two numbers.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing


package oop_java;

import java.util.Scanner;
/**
 * NetBeans IDE 8.2
 * @author Mr. Jake R. Pomperada
 * March 22, 2018  Thursday
 * Bacolod City, Negros Occidental
 */
class  Addition {

    public int val_a;
    public int val_b;
    public int sum;
    
public void getdata() {
  Scanner input = new Scanner(System.in);

  System.out.print("Addition of Two Numbers Using OOP ");
  System.out.println("\n");
  System.out.print("Give First Value  : ");
  val_a = input.nextInt();
  System.out.print("Give Second Value :  ");
  val_b = input.nextInt();
 
 }
 
  public void calculate(){
     sum =(val_a + val_b);
  }
          
 
 public void display() {
  System.out.println("\n");
  System.out.println("The sum of " + val_a + " and "
          + val_b + " is " + sum + ".");
  System.out.println("\n");
  System.out.println("End of Program");
 }
 public static void main(String args[]) {
  Addition add = new Addition();
  add.getdata();
  add.calculate();
  add.display();
 }
}

Leap Year Checker Using OOP in Java

I wrote this program to accept the user input a year and then the program will check if the given year is a leap year or not using object-oriented programming in Java.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

package oop_java;

import java.util.Scanner;
/**
 * NetBeans IDE 8.2
 * @author Mr. Jake R. Pomperada
 * March 22, 2018  Thursday
 * Bacolod City, Negros Occidental
 */

public class LeapYear {
  public int year;
  public boolean leap = false;
  public String result;

 public void getdata() {
  Scanner input = new Scanner(System.in);
  System.out.println();
  System.out.println(" Leap Year Checker Using OOP");
  System.out.println();
  System.out.print("Enter Year :  ");
  year = input.nextInt();
  
 }
 public void checkyear() {
    if(year % 4 == 0)
        {
            if( year % 100 == 0)
            {
                // year is divisible by 400, hence the year is a leap year
                if ( year % 400 == 0)
                    leap = true;
                else
                    leap = false;
            }
            else
                leap = true;
        }
        else
            leap = false;

        if(leap)
            result =  year  + " is a leap year.";
        else
             result =  year + " is not a leap year.";
    }
     
  
 public void display() {
  System.out.println();
  System.out.println("===== DISPLAY RESULT =====");
  System.out.println();
  System.out.println(result);
  System.out.println();
 }
 public static void main(String args[]) {
   LeapYear year = new LeapYear();
  year.getdata();
  year.checkyear();
  year.display();
 }
}

Fahrenheit To Celsius Converter in jQuery

Fahrenheit To Celsius Converter in jQuery

I wrote this program to ask the user to give temperature in Fahrenheit and the program will convert the given temperature into Celsius equivalent using jQuery.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

<html>
<head>
<title>Fahrenheit To Celsius Converter in jQuery</title>
<script src="jquery-3.2.1.min.js"></script>
<style>
body {
 background-color:white;
 font-family: arial;
 font-size:15px;
 font-weight:bold;
 }

 .input_bold {
    font-weight: bold;
 font-size:15px;
 color:blue;
}

.input_bold2 {
    font-weight: bold;
 font-size:15px;
 color:black;
 }

.left {
    width: 20%;
    float: left;
    text-align: right;
    
}
.right {
    width: 20%;
    margin-left: 20px;
    float:left;
}

.header {
    width: 37%;
    float: left;
    text-align: right;
}

h4 {
text-align: center;
}
</style> 
<script>
    /* solve button */
$(document).ready(function() {
 
    $("#fahrenheit").on("keydown keyup", function() {
       var fah = $("#fahrenheit").val();
       celsius = (fah-32) * 5 / 9; 
       $("#results").val(celsius.toFixed(2) +" "+ String.fromCharCode(176) + "C");
     });
   
/* clear button */
    $("#clear").click(function(){
    $("#fahrenheit").val('');
    $("#results").val('');
    $("#fahrenheit").focus();
   });

});
 </script>
</head>
<body>
<form>
<div class="header">
<h3>Fahrenheit To Celsius Converter in jQuery</h3>
</div>
<br><br><br><br>
<div class="left">
 Temperature in Fahrenheit 
</div>
<div class="right">
 <input type="text" id="fahrenheit"  name="fahrenheit"  class="input_bold2 "size="10" autofocus/><br>
</div>
<br><br>
<div class="left">
Celsius  Equivalent
</div> 
<div class="right">
 <input type="text" id="results" name="results"  class="input_bold" size="10" readonly />
</div> 
<br><br>
<div class="right">
<button type= "button" id ="clear" title="Click here to clear the textbox.">
Clear </button> 
<br>
</div>
</form>
</body>
</html>


Sunday, May 17, 2020

Word Count in a Sentence in jQuery

I wrote this program using jQuery to count the number of words in a given sentence.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

<html>
<head>
<title>Word Count in a Sentence in jQuery</title>
</head>
<script type="text/javascript" src="jquery-3.2.1.min.js">
</script>
<body>
<script type="text/javascript">
   function WordCount(str) {
  return str.split(" ").length;
  }

$(document).ready(function() { 
var sentence = "jQuery programming is fun.";
document.write("<h2>Word Count in a Sentence in jQuery</h2>");
document.write("<h3>Sentence : " ,sentence,"</h3>");
count_words = WordCount(sentence);
document.write("<h3>Total Number of Words  : " ,count_words,"</h3>");
});
</script>
</body>
</html>

Count Vowels and Consonants in jQuery

I wrote this program to count the number of vowels and consonants in a given string using jQuery.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

<html>
<head>
<title>Count Vowels and Consonants in jQuery</title>
</head>
<script type="text/javascript" src="jquery-3.2.1.min.js">
</script>
<body>
<script type="text/javascript">

function vowel_count(str)
{
var vowel_list = 'aeiou';
var vowel_count = 0;

str_lower = str.toLowerCase();

for (var x=0; x<str_lower.length; x++)
{
if (vowel_list.indexOf(str_lower[x]) !== -1)
{
vowel_count++;
}
}
return vowel_count;
}

function consonant_count(str)
{
var consonant_list = 'bcdfghjklmnpqrstvwxyz';
var consonant_count = 0;

str_lower = str.toLowerCase();

for (var x=0; x<str_lower.length; x++)
{
if (consonant_list.indexOf(str_lower[x]) !== -1)
{
consonant_count++;
}
}
return consonant_count;
}

$(document).ready(function() { 
var str = "Northern Negros State College of Science and Technology";
var result;
document.write("<h2>Count Vowels and Consonants in jQuery</h2>");
document.write("<h2>Given Text    : " ,str,"</h2>");
display_vowels = vowel_count(str);
display_consonants = consonant_count(str);
document.write("<h2> Number of Vowels     : " ,display_vowels,"</h2>");
document.write("<h2> Number of Consonants : " ,display_consonants,"</h2>");
});
</script>
</body>
</html>

Saturday, May 16, 2020

Classes in Modern C++

A simple implementation of classes in modern C++.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

#include <iostream>
#include <string>

using namespace std;

class Course
{
public:
  void viewCourse();
  void modifyCourse(string newCourse);
  bool removeCourse();
  bool createCourse();
private:
  string courseName = "no course";
  int courseId = 0;
};

void Course::viewCourse()
{
  cout << "Course: " << courseName << " id: " << courseId << '\n';
}

void Course::modifyCourse(string newCourse)
{
  courseName = newCourse;
}

bool Course::removeCourse()
{
  courseName = "no course";
  courseId = 0;

  return true;
}

bool Course::createCourse()
{
  // no idea what to do here
  return true;
}



int main()
{
    Course course1, course2;

    cout << "testing initial classes:\n";
    course1.viewCourse();
    course2.viewCourse();
    cout << "modifying the courses:\n";
    course1.modifyCourse("Math");
    course2.modifyCourse("C++");
    cout << "displaying the modified courses:\n";
    course1.viewCourse();
    course2.viewCourse();
    cout << "removing the courses:\n";
    course1.removeCourse();
    course2.removeCourse();
    cout << "displaying the modified(removed) courses:\n";
    course1.viewCourse();
    course2.viewCourse();

}

Array using Modern C++

A simple program that uses the Array and modern C++ approach.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

#include <iostream>
#include <array>

using namespace std;

constexpr int MAX = 5;

int main()
{
  array<int, MAX> arr = {10 ,20, 30, 40, 50};
  array<int*, MAX> ptr;

  for (int i = 0; i < MAX; ++i)
    ptr[i] = &arr.at(i);

  // the advantage of using at() over [] is that it throws
  // an exception which is easier to debug than undefined behaviour

  for (int i = 0; i < MAX; ++i)
    cout << "Value of var[" << i << "] = " << *ptr.at(i) << '\n';
}

Radix Sort in C

A simple program that I wrote using C programming to demonstrate Radix Sort Algorithm.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

# include<stdio.h>
#include <math.h>
#define max 20
int main()
{
       int arr[max],k,e,len,i,j,digit,x,numbdig;
       int temp[10][max];
   printf("Radix Sort in C");
       printf("How many numbers to sort ? ");
       scanf("%d",&len);
       printf("How many number of digits in each numerical ? ");
       scanf("%d",&numbdig);
       printf("Enter %d values\n", len);
       for(i=0;i<len;i++)
scanf("%d",&arr[i]);
       for(i=0;i<10;i++)
       {
for(j=0;j<max;j++)
{
temp[i][j]=-1;
}
       }
       for(k=1;k<=numbdig;k++)
       {
e=pow(10,k-1);
for(i=0;i<len;i++)
{
digit=(arr[i]/e)%10;
x=0;
while(temp[digit][x]!=-1)x++;
temp[digit][x]=arr[i];
}
x=0;

for(i=0;i<10;i++)
{
for(j=0;j<max;j++)
{
if (temp[i][j]!=-1)
{
arr[x]=temp[i][j];
x++;
}
        }
      }
printf("\nThe output of pass %d  is \n",k);
for(i=0;i<len;i++)printf("%d\t",arr[i]);
printf("\n");
for(i=0;i<10;i++)
{
       for(j=0;j<max;j++)
       {
temp[i][j]=-1;
       }
      }
       }
       return 0;
}


Friday, May 15, 2020

Frozen Pizzas Challenge Quad Cities-Style Pickle Pizza via GoldBelly!!

Upper Case String in jQuery

Digital Clock in JavaScript

A simple program was written by my good friend and fellow software engineer Sir Ernel he called his program digital clock in JavaScript.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

<!DOCTYPE html> <html> <head> <title>Page Title</title> <script type="text/javascript"> function setDeg(){ var date= new Date(); var hours = ( date.getHours() + date.getMinutes()/60) / 12 * 360; var mins = date.getMinutes() / 60 * 360; var secs = ( date.getSeconds() + date.getMilliseconds()/1000) /60 * 360; document.getElementById('hour').style.transform = 'rotate('+hours+'deg)'; document.getElementById('min').style.transform = 'rotate('+mins+'deg)'; document.getElementById('sec').style.transform = 'rotate('+secs+'deg)'; } setInterval(setDeg,1); </script> <style > #cont{ height:270px; width:270px; border-radius:50%; background-color:#000; position:absolute; overflow:hidden; left:0;right:0;top:0;bottom:0; margin:auto; box-shadow:0 0 9px 5px red; } #hour{ height:60px; width:5px; background-color:white; position:absolute ; top:-60px; left:0; right:0; bottom:0; margin:auto; transform:rotate(90deg); transform-origin: bottom; box-shadow:0 0 9px 5px orange; border-radius:30%; } #min{ height:80px; width:5px; background-color:white; position:absolute ; top:-80px; left:0; right:0; bottom:0; margin:auto; transform:rotate(0deg); transform-origin: bottom; box-shadow:0 0 9px 5px orange; border-radius:30%; opacity:1; } #sec{ height:110px; width:5px; background-color:white; position:absolute ; top:-110px; left:0; right:0; bottom:0; margin:auto; transform:rotate(-45deg); box-shadow:0 0 9px 5px orange; transform-origin:bottom; border-radius:30%; } #cir{ height:15px; width:15px; position:absolute; top:0; left:0; right:0; bottom:0; margin:auto; background-color:white; box-shadow:0 0 9px 5px deeppink; border-radius:50%; opacity:1; } h{ position:absolute ; height:20px; width:5px; margin:auto; background:white; box-shadow:0 0 9px 5px deeppink; } #twelve{ right:0; left:0; top:0; } #six{ right:0; left:0; bottom:0; } #nine{ top:0; bottom:0; left:0; height:5px; width:20px; } #three{ top:0; bottom:0; right:0; height:5px; width:20px; } </head> </style> <body bgcolor="yellow"> <div id="cont"> <h id="twelve"></h> <h id="six"></h> <h id="nine"></h> <h id="three"></h> <div id="hour"></div> <div id="min"></div> <div id="sec"></div> <div id="cir"></div> </div> </body> </html>

Multiplication Row in C

A program written by my good friend and fellow software engineer Sir Ernel thank you sir for sharing your code to us.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

int main() { int i,j,rows; printf("Enter number of rows:\n"); scanf("%d",&rows); for(i=1;i<=rows;i++) { for(j=1;j<=i;j++) { printf("%2d ",i*j); } printf("\n"); } }

Number Name in C

A number name program in C written by my good friend  Sir Ernel thank you sir for sharing your code to us.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

#include<stdio.h> main() { int i,j,k=0,value,count,a[10],dummy,num,l; char *ones[]={"zero","one","two","three","four","five","six","seven","eight","nine"}; char *temp[]={"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"}; char *tens[]={"-","-","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"}; //hundreds are same as ones printf("Enter a Number till what you what numbers in words but max is 6 digits\n"); scanf("%d",&num); for(l=1;l<=num;l++) { int j,k=0,value,count,a[10]; value=l; while(value>0) { i=value%10; a[k]=i; k++; value/=10; } //Here if 12345 is given then a[0]=5,a[1]=4 and soon then last but one digit will be at a[1] int totalDigits=k-1; if(totalDigits<6) { for(i=totalDigits;i>=0;i--) { if(i==5 && a[i]!=0) { printf("%s lakh ",ones[a[i]]); } if(i==4 || i==3) { //Start if(i==4 && a[i]==0) { printf("%s thousand ",ones[a[i-1]]); i--; } else if(i==4 && a[i]==1) { printf("%s thousand ",temp[a[i-1]]); i--; } else if(i==4) { printf("%s ",tens[a[i]]); } else { printf("%s thousand ",ones[a[i]]); } //end } if(i==2 && a[i]!=0) { printf("%s hundred and ",ones[a[i]]); } if(i==2 && a[i]==0) { printf("and "); } if(i==1 || i==0) { if(i==1 && a[i]==0) { printf("%s ",ones[a[i-1]]); i--; break; } if(i==1 && a[i]==1) { printf("%s ",temp[a[i-1]]); i--; break; } if(i==1 && a[i]!=1 && a[i]!=0) { printf("%s ",tens[a[i]]); } if(i==0 && a[i]!=0) { printf("%s ",ones[a[i]]); } } } } else { printf("Enter only upto 6 digits\n"); break; } printf("\n"); } }

Upper Case String in jQuery

I wrote this simple program using jQuery to convert the lowercase string into uppercase format.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

<html>
<head>
<title>Upper Case String in jQuery</title>
</head>
<script type="text/javascript" src="jquery-3.2.1.min.js">
</script>
<body>
<script type="text/javascript">
$(document).ready(function() { 
var str_title = "programming is fun";
var str_display;
document.write("<h2>Original Text    : " ,str_title,"</h2>");
str_upper_case = str_title.toUpperCase();
document.write("<h2> Upper Case Text : " ,str_upper_case,"</h2>");
});
</script>
</body>
</html>

Reverse a String in jQuery

Reverse a String in jQuery

I wrote this program to reverse the given string using jQuery. The code is very easy to understand and use.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.unlimitedbooksph.com/


Program Listing

<html>
<head>
<title>Reverse a String in jQuery</title>
</head>
<script type="text/javascript" src="jquery-3.2.1.min.js">
</script>
<body>
<script type="text/javascript">
$(document).ready(function() { 
var str = "Computer Science";
document.write("<h2>Reverse a String in jQuery</h2>");
document.write("<h3>Original Text    : " ,str,"</h3>");
const reverse_str = str.split('').reverse().join('');
document.write("<h3>Reverse String : " ,reverse_str,"</h3>");
});
</script>
</body>
</html>

Remove Vowels in a String in jQuery

I wrote this simple program to remove the vowels in a given string in jQuery.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com
I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/

Program Listing

<html>
<head>
<title>Remove Vowels in a String in jQuery</title>
</head>
<script type="text/javascript" src="jquery-3.2.1.min.js">
</script>
<body>
<script type="text/javascript">
   function Remove_Vowels(str) {
  return str.replace(/[aeiouAEIOU]/gi,' ');
  }

$(document).ready(function() { 
var string_given = "Web Development Using jQuery";
document.write("<h2>Remove Vowels in a String in jQuery</h2>");
document.write("<h3>Original String : " ,string_given,"</h3>");
display_results = Remove_Vowels(string_given);
document.write("<h3>The Result  : " ,display_results,"</h3>");
});
</script>
</body>
</html>

Lower Case in String Using jQuery

Lower Case in String Using jQuery

I wrote this simple program using jQuery to convert the given string into the lower case format.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.


ttps://www.unlimitedbooksph.com/


Program Listing

<html>
<head>
<title>Lower Case String in jQuery</title>
</head>
<script type="text/javascript" src="jquery-3.2.1.min.js">
</script>
<body>
<script type="text/javascript">
$(document).ready(function() { 
var str_title = "TECHNOLOGY IS CHANGING FAST.";
var str_display;
document.write("<h2>Lower Case in jQuery</h2>");
document.write("<h2>Original Text    : " ,str_title,"</h2>");
str_lower_case = str_title.toLowerCase();
document.write("<h2> Lower Case Text : " ,str_lower_case,"</h2>");
});
</script>
</body>
</html>

Fahrenheit To Celsius Converter in VB.NET

I wrote this simple program using visual basic .net to ask the user to give temperature in Fahrenheit and then it will be converted into celsius equivalent.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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 City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/


Sample Program Output


Program Listing

Public Class Form1


    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim convert_fahrenheit As Double
        convert_fahrenheit = (9 / 5) * (Val(txtCelsius.Text) + 32)
        txtfahrenheit.Text = Str(convert_fahrenheit)
    End Sub
End Class