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

Prime Number Checker Using For Loop Statement in Perl

I wrote this program to ask the user to give a number and then the program will check if the given number is a prime number or not using 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

# prime_num_for.pl
# It will ask the user to give a number and then the program
# will check and determine if the given number is a Prime Number or Not
# number using for loop statement
# Author   : Jake R. Pomperada,MAED-IT,MIT
# Date     : April 5, 2020   Sunday  3:38 PM
# Location : Bacolod City, Negros Occidental
# Email    : jakerpomperada@gmail.com
# Website  : http://www.jakerpomperada.com

$num=0; $i=0; $flag=0;
print("\n");
print("\tPrime Number Checker Using For Loop Statement in Perl");
print("\n\n");
print("\tGive a Number : ");
chomp($num=<STDIN>);

for ($i=2; $i<$num/2; $i++) {
    if ($num % $i == 0) 
    {
      $flag = 1;  
      break;
    }
}
print("\n");
if ($flag == 1) {
    print("\t$num is NOT a Prime Number.");
}
else {
    print("\t$num is a Prime Number.");
}
print("\n\n");
print("\tEnd of Program");
print("\n\n");

Monday, June 8, 2020

Paano maghanap ng trabaho using the Internet

Positive or Negative Number Checker in jQuery

Positive or Negative Number Checker in jQuery

A simple program that I wrote using jQuery to check if the given number by the user is a positive or negative number.

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

String Palindrome in jQuery

I wrote this program to check if the given string is a string palindrome or not 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>Palindrome String in jQuery</title>
</head>
<script type="text/javascript" src="jquery-3.2.1.min.js">
</script>
<body>
<script type="text/javascript">

function palindrome_check(str) {
var re = /[^A-Za-z0-9]/g;
str = str.toLowerCase().replace(re,'');
return str == str.split('').reverse().join('') ? true : false;
}

$(document).ready(function() { 
var str_given1 = "night";
var str_given2 = "radar";
var str_display1;
var str_display2;
document.write("<h2>Palindrome in jQuery</h2>");
document.write("<h2>Text Number One    : " ,str_given1,"</h2>");
document.write("<h2>Text Number Two    : " ,str_given2,"</h2>");

str_check1 = palindrome_check(str_given1);
str_check2 = palindrome_check(str_given2);

if  (str_check1 == true) {
str_display1 = "<h2>The string " +str_given1.toUpperCase()+" is Palindrome.</h2>";
} else {
str_display1 = "<h2>The string " +str_given1.toUpperCase()+" is Not Palindrome.</h2<";
}

if  (str_check2 == true) {
str_display2 = "<h2>The string " +str_given2.toUpperCase()+" is Palindrome.</h2>";
} else {
str_display2 = "<h2>The string " +str_given2.toUpperCase()+" is Not Palindrome.</h2<";
}
document.write(str_display1);
document.write(str_display2);
});
</script>
</body>
</html>

Login Security System in Perl

I wrote this program to show how to make login security system using 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

# login_string.pl
# Author   : Jake R. Pomperada,MAED-IT,MIT
# Date     : April 8, 2020   Wednesday  7;40 PM
# Location : Bacolod City, Negros Occidental
# Email    : jakerpomperada@gmail.com
# Website  : http://www.jakerpomperada.com

sub get_pword {
    use Term::ReadKey;

    my ($prompt) = shift; 
    my $pword;
    my $key;
    local $| = 1;  
    print "$prompt: ";
    ReadMode 4;   
    while( 1 ) {
        while (not defined ($key = ReadKey(-1))) { }
        if(ord($key) == 13) {
            print "\n";       
            last;            
        }
        print '*';
        $pword .= $key;
    }
    ReadMode 0; 
    return $pword; 
}


    back:
    print("\n\n");
    print("\tLogin Security System in Perl");
    print("\n\n");
  
    print("\tEnter Your Username  : ");
    chomp($username=<STDIN>);
   
my $password = get_pword("\tEnter Your Password   " );
    
    $user_check = lc $username;
    $pass_check = lc $password;

    if  ($user_check eq "admin"  && $pass_check eq "123") {
        print("\n\n");
        printf("\tPassword is accepted. Welcome to the system.")
    } else
      {
          print("\n\n");
          printf("\tInvalid Password. Try Again.");
          print("\n\n");
          goto back;
      }
    print("\n\n");
    print("\t\tEnd of Program");
    print("\n\n");

Load HTML File Using AJAX and jQuery

Load HTML File Using AJAX and jQuery

A simple program that I wrote to load the HTML file 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

test.html

<html>
   <head>
      <title>AJAX 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){
               $('#stage').load('result.html');
            });
         });
      </script>
   </head>
   <body>
      <h2>Loading the HTML file Using AJAX in jQuery </h2>
      <p>Click on the button to load result.html file:</p>
      <div id = "stage" style = "background-color:cc0;">
         STAGE
      </div>
   <br>
      <input type = "button" id = "driver" 
      title="Click here to load the result.html file."
      value = "Load Data" />
   </body>
</html>


result.html

<html>
<head>
<title>AJAX in jQuery</title>
</head>
<style>
body,p {
        font-family: arial;
        font-size:16px;
        font-weight:bold;
        }   
    h2 {
      font-family: arial;
        font-weight:bold;
    }   
</style>
<body>
  <h2>Successfully loaded the HTML file in the web page.</h2>
    <h2> Created By Jake Rodriguez Pomperada </h2>
 </body>
 </html>



Length a String in jQuery

Length a String in jQuery

A simple program that I wrote using jQuery to find the length of the given string.


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>Length 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 = "Philippines";
document.write("<h2>Length of a String in jQuery</h2>");
document.write("<h3>Given Text    : " ,str,"</h3>");
count_str = str.length;
document.write("<h3>The Length of the String  : " ,count_str,"</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 = "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>

Sunday, June 7, 2020

Paano Magiging Computer Programmer

How To Become a Web Developer

My Journey as a Book Author

Switch Statement in Perl

A simple program that demonstrates how to use switch statement 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

# switch_example.pl
# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
# Date    : April 26, 2020  Sunday  2:21 PM
# Email   : jakerpomperada@gmail.com
# Websites : http://www.jakerpomperada.com
#            http://www.jakerpomperada.blogspot.com

use Switch;

print "\n\n";
print "\tSwitch Statement Example ";
print "\n\n";

$var = 10;
@array = (10, 20, 30);
%hash = ('key1' => 10, 'key2' => 20);

switch($var) {
   case 10           { print "\tnumber 100\n" }
   case "a"          { print "\tstring a" }
   case [1..10,42]   { print "\tnumber in list" }
   case (\@array)    { print "\tnumber in list" }
   case (\%hash)     { print "\tentry in hash" }
   else              { print "\tprevious case not true" }
}

Real Fancy in Java

A program was written by my friend Thomas to test real fancy in Java programming language. Thank you Thomas 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

SOLUTION 1

/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
     public static void main (String[] args) throws java.lang.Exception
     {
         // your code goes here
         java.io.BufferedReader r = new java.io.BufferedReader
         (new java.io.InputStreamReader (System.in));
         int T = Integer.parseInt(r.readLine());
         for(int l=0;l<T;l++) {
             String st = r.readLine();
             String[] s = st.split(" ");String ans="regularly fancy";
             for(int i=0;i<s.length;i++){
                 if(s[i].equals("not")){ans="Real Fancy";break;}
             }System.out.println(ans);
             }
     }
}

SOLUTION 2

import java.util.*;
import java.lang.*;
import java.io.*;
class Codechef
{
     public static void main (String[] args) throws java.lang.Exception
     {
         try{
             Scanner scan=new Scanner(System.in);
         int t=scan.nextInt();
      scan.nextLine();
         while (t-- > 0) {
             String[] words = scan.nextLine().split(" ");
             String ans = "regularly fancy";
             for (String s : words) {
                 if (s.equals("not")) {
                     ans = "Real Fancy";
                     break;
                 }
             }
             System.out.println(ans);
      }
         }catch(Exception e){
             System.out.println(e);
         }
}
}