Thursday, March 26, 2020

Money Denominator in C

I wrote this program in C language to demonstrate the money denominator. I am using Dev C++ as my text editor and compiler in writing this program.

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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/




Sample Program Output


Program Listing

money.c

/* money.c
   Jake R. Pomperada,MAED-IT
   November 17, 2019
   Bacolod City, Negros Occidental
*/

#include <stdio.h>

int main()
{
    int amount=0;
    
    int note1000=0,note500=0, note100=0, note50=0, note20=0, note10=0, note5=0, note2=0, note1=0;
    

    note1000=note500 = note100 = note50 = note20 = note10 = note5 = note2 = note1 = 0;

    printf("\n\n");
    printf("\tMoney Denominator in C");
    printf("\n\n");
    printf("\tGive an Amount PHP : ");
    scanf("%d", &amount);


    if(amount >= 1000)
    {
        note1000 = amount/1000;
        amount -= note1000 * 1000;
    }

    if(amount >= 500)
    {
        note500 = amount/500;
        amount -= note500 * 500;
    }
    if(amount >= 100)
    {
        note100 = amount/100;
        amount -= note100 * 100;
    }
    if(amount >= 50)
    {
        note50 = amount/50;
        amount -= note50 * 50;
    }
    if(amount >= 20)
    {
        note20 = amount/20;
        amount -= note20 * 20;
    }
    if(amount >= 10)
    {
        note10 = amount/10;
        amount -= note10 * 10;
    }
    if(amount >= 5)
    {
        note5 = amount/5;
        amount -= note5 * 5;
    }
    if(amount >= 2)
    {
        note2 = amount /2;
        amount -= note2 * 2;
    }
    if(amount >= 1)
    {
        note1 = amount;
    }

    printf("\n\n");
    printf("\tTotal number of notes = \n");
    printf("\n");
     printf("\t1000 = %d\n", note1000);
    printf("\t500 = %d\n", note500);
    printf("\t100 = %d\n", note100);
    printf("\t50 = %d\n", note50);
    printf("\t20 = %d\n", note20);
    printf("\t10 = %d\n", note10);
    printf("\t5 = %d\n", note5);
    printf("\t2 = %d\n", note2);
    printf("\t1 = %d\n", note1);
    printf("\n\n");
    printf("\tEnd of Program");
}



For Loop Statement in C

I wrote this simple program to show how to declare and use for loop statement 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.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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

for.c

#include <stdio.h>
#include <stdlib.h>



int main() {
int a=0;
printf("\tFor Loop Statement in  C");
printf("\n\n");
for (a=1; a<=20; a++) {
printf(" %d ",a);
}
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}



Inches To Centimeter Converter in JavaScript

I wrote this program to accept values in inches and then convert it into centimeter values using JavaScript 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.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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output


Program Listing

index.htm

<hmtl>
<head>
  <title>Inches To Centimeter Converter in JavaScript</title>
 </head>
 <style>
   body {
    font-family:arial;
    size:12px;
  }
 </style>
<body onload="init()">
  <p>Inches To Centimeter Converter in JavaScript</p>
  <table cellspacing="6">
    <tr valign="top">
      <td><input id="inch" size="20" onfocus="reset()" /><br />Inches</td>
      <td><input type="button" value="Ok" onclick="convert()" title="Click here to convert" /></td>
      <td><input id="cm" size="20" onfocus="reset()" /><br />Centimeter</td>
      <td><input type="button" value="Clear All" onclick="reset()" title="Click here to clear the text box." /></td>
    </tr>
  </table>
  <script>
  
  var inf, cmf;

function init(){
  inf = document.getElementById('inch');
  cmf = document.getElementById('cm');
}

function reset(){
  inf.value = "";
  cmf.value = "";
}

function convert(){
  var i = inf.value.replace(/ /, "");
  if (i){
    cmf.value = i * 2.54;
  }
  
  var c = cmf.value.replace(/ /, "");
  if (c){
    inf.value = c / 2.54;
  }
}

</script>
</body>
</html>



Age Checker in Perl

A simple program that I wrote to ask the user to give his or her age and then the program will check and determine if the user is still a minor, adult or already a senior citizen 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.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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Sample Program Output


Program Listing

# age.pl
# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
# Date    : March 25, 2020  12:11 PM
# Website : http://www.jakerpomperada.com
# Email   : jakerpomperada@gmail.com

print "\n\n";
print "\tAge Checker in Perl";
print "\n\n";
print "\tEnter your Age : ";
chomp($age=<>);

if ($age < 18) {
    print "\n";
    print "\tAt the age of $age years old. Your are still a Minor.";
}

if ($age >=18  && $age < 60) {
print "\n";
print "\tAt the age of $age years old. You are already an Adult.";
}

if ($age >=60) {
print "\n";
print "\tAt the age of $age years old. You are already an Senior Citizen.";
}

print "\n\n";
print "\tEnd of the Program";
print "\n\n";


Grade Checker in Perl

I wrote this program using Perl programming language to ask the user to give a grade and then the program will check if the given grade by the user pass or fails using conditional statement if in Perl.

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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Sample Program Output


Program Listing

# grade.pl
# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
# Date    : March 25, 2020  11:58 AM
# Website : http://www.jakerpomperada.com
# Email   : jakerpomperada@gmail.com

print "\n\n";
print "\tGrade Checker in Perl";
print "\n\n";
print "\tEnter your Grade  : ";
chomp($grade=<>);

if ($grade >= 75) {
    print "\n";
    print "\tYour grade is $grade%. You pass the subject.";
}

if ($grade < 75) {
print "\n";
print "\tYour grade is $grade%. You fail the subject.";
}

print "\n\n";
print "\tEnd of the Program";
print "\n\n";



Odd and Even Number Checker in PERL

I simple program that I wrote to ask the user to give a number and then our program will check if the given number is an odd or even number using Perl as my programming language. The text editor that I used in writing this program is Visual Studio Code from Microsoft that is free to download and use.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, 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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/



Program Listing


# odd_even.pl
# Author : Jake Rodriguez Pomperada,MAED-IT
# Date   : October 30, 2019   5:21 AM  Wednesday


print "\n\n";
print "\tOdd and Even Number Checker in PERL";
print "\n\n";
print "\tGive a Number : ";
chomp($num_val =<>);

if ($num_val % 2 == 0) {
    print "\n";
    print "\tThe given number $num_val is an EVEN number.";
}
else {
    print "\n";
    print "\tThe given number $num_val is an ODD number.";
}
print "\n\n";

print "\tEnd of the Program";




Wednesday, March 25, 2020

Gender Checker in Perl

I wrote this program to ask the user to give the gender of the letter using the M for Male and F for Female person using the Perl programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, 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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Sample Program Output


Program Listing

gender.pl

# gender.pl
# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
# Date    : March 25, 2020  10:50 AM
# Website : http://www.jakerpomperada.com
# Email   : jakerpomperada@gmail.com

print "\n\n";
print "\tGender Checker in Perl";
print "\n\n";
print "\tWhat is your gender (M-Male / F-Female) ?  : ";
chomp($gender=<>);

if ($gender eq "M" || $gender eq "m") {
    print "\n";
    print "\tYou are a Male.";
}

if ($gender eq "F" || $gender eq "f") {
    print "\n";
    print "\tYou are a Female.";
}

if ($gender ne "M" && $gender ne "m" && $gender ne "F" && $gender ne "f") { 
    print "\n";
    print "\tInvalid Gender. Try Again";
}
print "\n\n";
print "\tEnd of the Program";
print "\n\n";




Sunday, March 22, 2020

Hello World Using NodeJS and ExpressJS

A simple hello world program that I wrote using NodeJS and ExpressJS JavaScript frameworks.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, 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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/




Sample Program Output


Program Listing

demo.js

var express = require('express');
var app = express();
app.get('/', function (req, res) {
  res.send('Hello World! Jake Pomperada');
  
});
app.listen(3000, function () {
  console.log('Example app listening on port 3000!');
});



Positive and Negative Number Checker in NodeJS

I wrote this simple program using NodeJS to ask the user to give a number and then the program will check and determine if the given number is a positive or negative number.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, 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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/



Sample Program Output


Program Listing

// num.js
/* Positive and Negative Number Checker in NodeJS    */
/* March 22,2020  Thursday   4:57 PM  */
// Bacolod City,Negros Occidental Philippines
/* Written By: Mr. Jake R. Pomperada   */

var readline = require('readline');

var rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout
});

console.log('\n');
console.log('Positive and Negative Number in NodeJS\n');
console.log('Author : Jake R. Pomperada');
console.log('\n');
rl.question('Enter first value : ', function (x) {
    var a = parseInt(x);


    if (isNaN(a))      {
        console.log('\n');
        console.log("The given value is not a number. Try Again.");
      } else if (a>=0) {
        console.log('\n');
        console.log('The given number ',a, ' is a Positive Number.');
      }
      else {
        console.log('\n');
        console.log('The given number ',a, ' is a Negative Number.');
      }
      console.log('\n');
      console.log('End of Program');
      rl.close();
    
});


Product of Two Numbers in NodeJS

A simple program to ask the user to give two numbers and then the program will compute the product of two numbers using NodeJS.


I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, 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.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Sample Program Output


Program Listing

product.js

/* Product of Two Numbers in NodeJs    */
/* March 22,2020  Thursday   14:34 PM  */
/* Written By: Mr. Jake R. Pomperada   */


var readline = require('readline');

var rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout
});

console.log('\n');
console.log('Product of Two Numbers in NodeJS\n');
console.log('Author : Jake R. Pomperada');
console.log('\n');
rl.question('Enter first value : ', function (x) {
   rl.question('Enter  second value : ', function (y) {
  var a = parseInt(x);
  var b = parseInt(y);
        var product = (a*b);
  
       console.log('\n');
       console.log('The product of ',a, ' and ',b, ' is ' ,product,'.');
    console.log('\n');
       console.log('End of Program');
        rl.close();
    });
});