Monday, June 15, 2020

Sum of Two Number Without Using Plus Symbol in C

A simple program was written by my good friend and fellow software engineer Sir Ernel to add the two numbers without using a plus symbol using a C programming language.

 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.comMy 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>

int main(){

int a,b,sum;    

printf("Enter any two integers: ");

scanf("%d%d",&a,&b); 

sum = a - ~b -1; 
printf("Sum of two integers: %d",sum); 
return 0; 
}

Saturday, June 13, 2020

Average Grade Solver Using C Language

Average Grade Solver Using C Language

I wrote this program to ask the user to give a series of grades of the students and then the program will compute the average grade of the student and also display if the student pass or fail using C 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.comMy 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

 /* average.c
   Author   : Jake Rodriguez Pomperada,BSCS,MAED-IT
   Date     : June 13, 2020  7:39 AM  Saturday
   Location : Bacolod City, Negros Occidental
   Tool     : Dev C++ Version 5.11
   Website  : http://www.jakerpomperada.com
   Email    : jakerpomperada@jakerpomperada.com and jakerpomperada@gmail.com
*/
 #include <stdio.h>
 
 int main() {
     int numbers[5];
     int a=0,solve=0,sum=0;
     printf("\n\n");
     printf("\tAverage Grade Solver Using C Language");
     printf("\n\n");
     for (a=0; a<=4; a+=1) {
         printf("\tEnter Grade No. %d : ",a+1);
         scanf("%d",&a[numbers]);    
     }
    printf("\n\n");
     for (a=0; a<=4; a+=1) {
         sum = sum + a[numbers];
         solve =( sum / 5);
     }
    printf("\tThe average grades is %d. ",solve);
    printf("\n\n");
      if (solve >=75) {
        printf("\n");
          printf("\tYou Passed the subject");
      }
      else {
        printf("\n");
          printf("\tYou Failed the subject");
      }
printf("\n\n");
printf("\tEnd of Program");
printf("\n\n");
 }

Highest and Lowest Value Checker Using C Language

Highest and Lowest Value Checker Using C Language

Design a program using a one-dimensional array that will ask the user to give a series of numbers and then the program will check and determine which of the given number is the highest and lowest in terms of numerical value and then display the result on the screen using the C 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.comMy 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/

Sample Program Output


Program Listing

/* highest_lowest.c
   Author   : Jake Rodriguez Pomperada,BSCS,MAED-IT
   Date     : June 13, 2020    6:54 AM  Saturday
   Location : Bacolod City, Negros Occidental
   Tool     : Dev C++ Version 5.11
   Website  : http://www.jakerpomperada.com
   Email    : jakerpomperada@jakerpomperada.com and jakerpomperada@gmail.com
*/
#include <stdio.h>
int main ()
{
    int arr[20], b=0, max=0, min=0;
    printf("\n\n"); 
    printf("\t\tHighest and Lowest Value Checker");
    printf("\n\n");
    printf("\tHow many items to be process? : ");
    scanf("%d",&b);
    printf("\n\n");
    printf("\tEnter items values : ");
    for (int a = 0; a < b; a++){
     scanf("%d",&arr[a]);
      }
        max = arr[0];
    for (int a = 0; a < b; a++)
    {
        if (max < arr[a])
            max = arr[a];
    }
    min = arr[0];
    for (int a = 0; a < b; a++)
    {
        if (min > arr[a])
            min = arr[a];
    }
    printf("\n\n");
    printf("\t===== DISPLAY RESULT =====");
    printf("\n\n");
    printf("\tThe Largest Value is %d.",max);
    printf("\n\n");
    printf("\tThe Smallest Value is %d.",min);
    printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
}



Odd and Even Numbers Checker in C Language

I wrote this program to ask the user to give a number and then the program will check and determine whether the given number is an odd or even numbers using C 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.comMy 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

/*odd_even.c
 Author   : Jake Rodriguez Pomperada
 Work     : Freelance Software Engineer and Software Engineering Consultant
 Address  : #45-31 Victoria Malaga St. Eroreco Subd. Bry. Mandalanga, Bacolod City
            Negros Occidental, Philippines
 Email    : jakerpomperada@gmail.com
 Website  : www.jakerpomperada.com and www.jakerpomperada.blogspot.com
 Tool     : Dev C++ Version 5.11
 Date     : June 13, 2020   7:06 AM   Saturday
*/
#include <stdio.h>
int a=0,r=0,data=0,b=0;
int values[10];
void get_data();
void display_even();
void display_odd();

void get_data(void)
{
    printf("\n\n");
    printf("\tODD and Even Numbers Checker");
printf("\n\n"); 
    printf("\tHow Many Items To Be Process? :  ");
    scanf("%d",&data);
    printf("\n"); 
       for (b=1; b <= data; b++)
            {
            printf("\tEnter Item No. %d : ",b);
            scanf("%d",&b[values]);
            }
}

void display_even(void)
{
    printf("\n\n");
    printf("\tList of Even Numbers : ");
    printf("\n\n");
        for (a=1; a<=data; a++) {
            r = a[values] % 2;
            if (r ==0) {
            printf("\t %d ",a[values]);
         }
     }
}

void display_odd(void)
 {
    printf("\n\n");
    printf("\tList of Odd Numbers : ");
    printf("\n\n");
     for (a=1; a<=data; a++) {
         r = a[values] % 2;
         if (r!=0) {
          printf("\t %d ",a[values]);
         }
     }
printf("\n\n");
printf("\tEnd of Program");
printf("\n\n");
 }
 
int main() {
     get_data();
     display_even();
     display_odd();
 }

Student Grades Checker in C Language

Student Grades Checker in C Language

A simple program that I wrote using C programming language to compute and check the students grades.

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/


Sample Program Output


Program Listing

/*pass_fail.c
   Author   : Jake Rodriguez Pomperada,BSCS,MAED-IT
   Date     : June 13, 2020  7:26 AM  Saturday
   Location : Bacolod City, Negros Occidental
   Tool     : Dev C++ Version 5.11
   Website  : http://www.jakerpomperada.com
   Email    : jakerpomperada@jakerpomperada.com and jakerpomperada@gmail.com

*/
#include <stdio.h>

int grades[6],a=0;
int count_pass=0, count_fail=0;

void display_title(void);
void get_data(void);
void display_pass(void);
void display_fail(void);
void display_result(void);

void display_title(void)
{
     printf("\n\n");
printf("\t\tStudent Grades Checker");
     printf("\n\n\n");
}

void get_data(void)
{
  for (a=1; a<=5; a+=1) {
        printf("\tEnter Grade No. %d : ",a);
        scanf("%d",&a[grades]);
      }
}

void display_pass(void)
{
     printf("\n\n");
     printf("\tList of PASSED Grades ");
     printf("\n\n");
        for (a=1; a<=5; a+=1) {
          if (a[grades] >= 75) {
          printf("\t %d ",a[grades]);
               count_pass++;
              }
         }
  }

void display_fail(void)
{
      printf("\n\n");
      printf("\tList of FAILED Grades ");
      printf("\n\n");
       for (a=1; a<=5; a+=1) {

           if (a[grades] < 75) {
               printf("\t %d ",a[grades]);
              count_fail++;
              }
       }
}

void display_result(void)
{
printf("\n\n");
printf("\tNumber of Passed Grades => %d ",count_pass);
printf("\n\n");
printf("\tNumber of Failed Grades => %d ",count_fail);
printf("\n\n");
printf("\tEnd of Program");
printf("\n\n");
}
 int main() {
    display_title();
    get_data();
    display_pass();
    display_fail();
    display_result();
    }
 // End of Code



Sally Grocery Ordering System in C#

I wrote this program to demonstrate how to create and implement an ordering system using C# programming language. I called this program Sally Grocery Ordering System.

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/



Sample Program Output


Program Listing

// Author  : Jake Rodriguez Pomperada
// Date    : June 13, 2020   6:21 AM Saturday
// Website : www.jakerpomperada.com
// Email   : jakerpomperada@gmail.com

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

namespace Grocery_Ordering_System
{
    class Program
    {
        static void Main(string[] args)
        {

            int p0 = 0,p1 = 0,p2 = 0,p3 = 0,p4 = 0,p5 = 0,payment=0;

            double sum = 0.00,total_cost = 0.00;
           
            char decision;

            double total_price = 0.00;

            int[] final_qty = new int[100];

            int[] product_number = { 0, 1, 2, 3, 4, 5 };

            string[] product_title = { "Product Number", "Product Name", "Item Price" };

            string[] product_title2 = { "Product Name", "Quantity", "Item Price", "Total Cost" };

            string[] product_name = {"555 Tuna","Nido Milk", "Magic Flakes",
                                     "Milo Mix","LuckyMe Noodles","Century Tuna"};

            double[] item_price = {21.71,25.43,37.28,43.17,12.43,26.81};

            do
            {
                Console.WriteLine("\n");
                Console.WriteLine("\t\t===== Sally Grocery Ordering System in C# =====");
                Console.WriteLine();
                Console.WriteLine("\t" + product_title[0] + "\t" + product_title[1] + "\t   " + product_title[2]);
                Console.WriteLine();
                for (int a = 0; a < product_name.Length; a++)
                {
                    Console.WriteLine("\t\t" + product_number[a] + "\t" + product_name[a] + "\t    " + item_price[a].ToString("00.00"));
                }

                Console.WriteLine();
                Console.Write("\tSelect the Product Number to choose the Product :  ");
                int choose = Convert.ToInt32(Console.ReadLine());

                Console.Write("\tHow many pieces?  ");
                int quantity = Convert.ToInt32(Console.ReadLine());



                switch (choose)
                {
                    case 0:
                        p0 += quantity;
                        final_qty[0] = p0;
                        break;

                    case 1:
                        p1 += quantity;
                        final_qty[1] = p1;
                        break;

                    case 2:
                        p2 += quantity;
                        final_qty[2] = p2;
                        break;

                    case 3:
                        p3 += quantity;
                        final_qty[3] = p3;
                        break;

                    case 4:
                        p4 += quantity;
                        final_qty[4] = p4;
                        break;


                    case 5:
                        p5 += quantity;
                        final_qty[5] = p5;
                        break;

                  
                }

                Console.WriteLine();
                Console.Write("\tWould you like to order again? Y/N : ");
                decision = char.ToUpper(Console.ReadKey().KeyChar);
                Console.WriteLine();

            } while (decision != 'N');
         
            Console.WriteLine("\n");
          Console.WriteLine("\t===== FINAL PURCHASE =====");
         Console.WriteLine("\t\t" + product_title2[0] + "\t\t" + product_title2[1]
                    + "\t" + product_title2[2] + "\t" + product_title2[3]);
    
for(int i=0; i < final_qty.Length; i++)
{
if(final_qty[i] != 0)
{
                
                double compute_two = final_qty[i] * item_price[i];
                Console.WriteLine("\t\t" + product_name[i] + "\t\t  "
                               + final_qty[i] + "\t\t " + item_price[i].ToString("#####.00")
                               + "\t\t PHP " + compute_two.ToString("#####.00"));
            
sum = sum + final_qty[i]*item_price[i];
}
}
        Console.WriteLine();
        Console.WriteLine("\tTotal Number of Purchased items: " + (p0 + p1 + p2 + p3 + p4 + p5));
        Console.WriteLine();
        Console.WriteLine("\tTotal Purchase PHP : " + sum.ToString("#####.00")); 
do
{
        Console.WriteLine();
Console.Write("\tEnter Your Payment  PHP : ");
        payment = Convert.ToInt32(Console.ReadLine());
}while(sum > payment);
        double compute_all = (payment - sum);
        Console.WriteLine();
Console.WriteLine("\tYour Change is PHP : "+ compute_all.ToString("#####.00"));
        Console.WriteLine();
        Console.WriteLine("\t\tThank you for buying at Sally's Grocery.");
        Console.WriteLine();
        Console.Write("\t\tEND OF PROGRAM");
        Console.ReadKey();
        }

 }
       
}  // End of Code





Sally Grocery Ordering System in C#

How to solve your programming problems?

Thursday, June 11, 2020

Login System in PHP and MySQL

A database-driven login system was written by my friend and fellow software engineer Raymil Garde. Thank you Sir Raymil for sharing your work with 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/


Slide In Navigational Bar in HTML and CSS

Here it the program written by my friend and fellow software engineer Sir Ernel. Thank you very much Sir Ernel for sharing your work 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


<html>
<head>
 <title>Menu Bar - Hide/Show</title>
 <style type="text/css">
 #top_bg{
 position: absolute;
 top: 0; left: 0;
 width: 100%; height: 50px;
 background-color: green;
 }
 #bar_btn{
 position: absolute;
 top: 0; left: 0;
 font-family: Calibri;
 font-size: 26px; color: white;
 font-weight: bold;
 word-spacing: 2px;
 width: 200px; padding: 8px;
 text-indent: 30px;
 background-color: darkGreen;
 }
 #bar_btn:hover{
 color:lightGreen;
 cursor: pointer;
 }
 .txt{
 position: absolute;
 top: 12px; right: 50px;
 font-family: Calibri;
 font-size: 20px; color: yellow;
 font-weight: bold;
 word-spacing: 2px;
 }
 .title{
 position: absolute;
 top: 200px; left: 0;
 width: 100%; text-align: center;
 font-family: Times; font-size: 150px;
 font-weight: bold;
 cursor: default;
 }
 #start{
 position: absolute;
 top: 390px; left: 0;
 width: 18%; margin-left: 41%; margin-right: 41%;
 padding: 10px; text-align: center;
 font-size: 22px; opacity:0.6;
 font-family: calibri; color: white;
 border:none; border-radius:10px;
 background-color: green;
 }
 #start:hover{
 opacity: 0.8;
 cursor: pointer;
 }
 #navbar{
 position: fixed;
 top: 48px; left: 0;
 width: 300px; height: 100%;
 padding: 20px; display: none;
 background-color: darkGreen;
 animation-name: navbar;
 animation-duration: 3s;
 -webkit-animation-name: navbar;
 -webkit-animation-duration: 3s;
 -moz-animation-name: navbar;
 -moz-animation-duration: 3s;
 }
 @keyframes navbar{
 from{left: -500px;}
 to{left: 0;}
 }
 @-webkit-keyframes navbar{
 from{left: -500px;}
 to{left: 0;}
 }
 @-moz-keyframes navbar{
 from{left: -500px;}
 to{left: 0;}
 }
 .head{
 padding: 30px;
 font-family:cursive;
 font-size: 38px; color: white;
 cursor: default; text-align: center;
 width: 100%;
 }
 .links{
 background-color: green;
 color: white;
 padding: 10px;
 font-family: Calibri; word-spacing: 2px;
 font-size: 20px; opacity: 0.7;
 }
 .links:hover{
 background-color: white;
 border-right: solid;
 border-right-width: 6px;
 border-right-color: Orange;
 color: black; opacity: 0.9;
 font-weight: bold;
 cursor: pointer;
 }
 </style>
 <script type="text/javascript">
 function display(){
 var bar = document.getElementById("navbar");
 bar.style.display = 'block';
 }
 function hidebar(){
 var bar = document.getElementById("navbar");
 bar.style.display = 'none';
 }
 </script>
</head>
<body>
<div id="top_bg"></div>
<div id="bar_btn" onclick="display()">MENU</div>
<div class="txt">Google</div>
<font class="title">Google</font>
<div id="start" onclick="display()">Get Started</div>
<div id="navbar">
 <table style="width: 100%" cellspacing="10">
 <tr><td class="head" align="center"><b>Google</b></td></tr>
 <tr><td class="links">Open Gmail Account</td></tr>
 <tr><td class="links">Create Dev. Account</td></tr>
 <tr><td class="links">Veriify An Account</td></tr>
 <tr><td class="links">Work And Earn Online</td></tr>
 <tr><td class="links">Learning Sites Available</td></tr>
 <tr><td class="links">Google Aspects/Categories</td></tr>
 <tr><td class="links" onclick="hidebar()">x Close</td></tr>
 </table>
</div>
</body>
</html>


Five Benefits of Working From Home

Tuesday, June 9, 2020

Word Count in a Sentence in jQuery

I wrote this program to count the number of words in the 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>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>

Remove Vowels in a String in jQuery

I wrote this program to remove the vowels 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>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 = "Computer Science";
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>

Using Upper Case Filter in AngularJS

Using Upper Case Filter in AngularJS

Using Upper Case Filter in AngularJS

I wrote this program to convert the given string into upper case format using AngularJS.

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>AngularJS For Beginners</title>
<script src="js/angular.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<h3>Using Upper Case Filter in AngularJS</h3>
<div ng-app=""  ng-init="Username= '' ">
<p>What is your name? <input type="text" ng-model = "Username"></p>
<p style="color:green" ng-bind="Username | uppercase"></p> 
</div>
</body>
</html>

Slide Down and Slide Up in jQuery

I wrote this program using jquery to demonstrate the slide down and slide up animation.

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>
<title>Slide Down and Slide Up in jQuery</title>
<head>
<style>
body,p {
        font-family: arial;
        font-size:16px;
        font-weight:bold;
        }   
    h2 {
      font-family: arial;
        font-weight:bold;
    }   
</style>
<script src="jquery-3.2.1.min.js"></script>
<script>
$(document).ready(function(){
$(".btn_up").click(function(){
        $("p").slideUp();
    });
    $(".btn_down").click(function(){
        $("p").slideDown();
    });
});
</script>
</head>
<body>

<h2>Slide Down and Slide Up in jQuery</h2>
 <p> Computer Programming is Fun and Profit </p>
 <p> Agile Web Development with Ruby on Rails </p>
 <br>
 <button class="btn_up"
 title="Click here to Slide Up the text.">
Slide Up</button>
<button class="btn_down"
 title="Click here to Slide Down the text.">
 Slide Down</button>
</body>
</html>

Retrieve Information From JSON using AJAX and jQuery

I wrote this simple program to retrieve information from son files using AJAX and 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

index.html

<html>
   <head>
      <title>AJAX and JSON in jQuery</title>
      <style>
    body,p {
        font-family: arial;
        font-size:16px;
        font-weight:bold;
        }   
    h2 {
      font-family: arial;
        font-weight:bold;
    }   
</style>
<script src="jquery-3.2.1.min.js"></script>
<script type = "text/javascript" language = "javascript">
         $(document).ready(function() {
            $("#driver").click(function(event){
               $.getJSON('result.json', function(jd) {
                  $('#stage').html('<p>   Name: ' + jd.name + '</p>');
                  $('#stage').append('<p> Age : ' + jd.age+ '</p>');
                  $('#stage').append('<p> Sex: ' + jd.sex+ '</p>');
  $('#stage').append('<p> Address: ' + jd.address+ '</p>');
               });
            });
         });
      </script>
   </head>
   <body>
      <p>Click on the button to load result.json file</p>
   <h2>Loading Information from result.json </h2>
      <div id = "stage" style = "background-color:#eee;">
         STAGE
      </div>
      <input type = "button" id = "driver" value = "Load Data" />
   </body>
</html>


result.json

{
   "name"   : "Jacob Samuel Fuentebella Pomperada",
   "age"    : "7",
   "sex"    : "Male",
  "address": "#25-31 Victoria Malaga St. Eroreco Subd.Bacolod City,Negros Occidental Philippines." 
}





Prime Number Checker Using For Loop Statement in Perl