Friday, November 6, 2020

Positive and Negative Number Checker in Visual FoxPro

 A simple program that I wrote that will ask the user to give a number and then the program will check if the given number is a positive or negative number using Microsoft Visual FoxPro.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.





Program Listing


* Ok Buttton    * Procedure : Click


a = VAL(thisform.text1.value)


IF (a >= 0) then

 thisform.label2.Caption = "The given number " + LTRIM(STR(a)) + " is a positive number."

 ELSE

 thisform.label2.Caption = "The given number " +  LTRIM(STR(a)) + " is  a negative number."

ENDIF


* Clear Button   Procedure : Click

thisform.text1.value = ""

thisform.label2.Caption = ""

thisform.text1.SetFocus


 Quit Button  Procedure : Click


thisform.Releas

Perfect Number in C++

Perfect Number in C++

 In this tutorial, I show you how to write a program that will ask the user to give a number, and then the program will check if the given number is a perfect number or not using the C++ programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.


Program Listing

// perfect_number.cpp

// Mr. Jake R. Pomperada, MAED-IT, MIT

// www.jakerpomperada.com

// jakerpomperada@gmail.com

// Bacolod City, Negros Occidental Philippines


#include <iostream>


using namespace std;


int main()

{

int  i=0, n=0,sum=0;

cout <<"\n\n";

    cout << "\tPerfect Number in C++";

    cout <<"\n\n";

cout << "\tGive a Number : ";

cin >> n;

sum = 0;

for(i=1 ; i<=n/2 ; i++ )

    {

if( n%i == 0 )

{

sum = sum + i;

}

    }

    cout <<"\n\n";

if(sum == n)

{

cout << "\tThe given number " <<

    n << " is PERFECT Number." ;

}

else

{

cout << "\tThe given number " <<

n  << " is NOT a PERFECT Number." ;

}


cout <<"\n\n";

cout <<"\tEnd of Program";

cout <<"\n\n";

}


Five Tips Para Labanan ang Depression

Thursday, November 5, 2020

Huawei Y7 Phone Case Unboxing Video

Basic Arithmetic Operations in C

 A program that I wrote using C programming language that will ask the user to give two numbers and then program will compute the addition, subtraction, product and quotient of the two given number.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price.

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

 /*arithmetic.c

   Author  : Jake Rodriguez Pomperada, MAED-IT, MIT

   Date    : November 5, 2020  Thursday

   Email   : jakerpomperada@gmail.com

   Place   : Bacolod City, Negros Occidental, Philippines

   Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com

*/


#include <stdio.h>


int main() {

  int sum=0,subtract=0,product=0,quotient=0;

  int a=0,b=0;


  printf("\n\n");

  printf("\tBasic Arithmetic Operations in C");

  printf("\n\n");

  printf("\tEnter First  Value : ");

  scanf("%d",&a);

  printf("\tEnter Second Value : ");

  scanf("%d",&b);


  sum  =  (a+b);

  subtract = (a-b);

  product = (a*b);

  quotient = (a/b);


  printf("\n\n");

  printf("\tThe sum of %d and %d is %d.\n\n",a,b,sum);

  printf("\tThe difference between %d and %d is %d.\n\n"

         ,a,b,subtract);

  printf("\tThe product of %d and %d is %d.\n\n",a,b,product);

  printf("\tThe quotient between %d and %d is %d."

         ,a,b,quotient);

  printf("\n\n");

  printf("\tEnd of Program");

  printf("\n\n");

}



Product and Quotient of Two Numbers in C

 A program that I wrote using C programming language that will ask the user to give two numbers and then program will compute the product and quotient of the two given number.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price.

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.


Program Listing

 /*product_quotient.c

   Author  : Jake Rodriguez Pomperada, MAED-IT, MIT

   Date    : November 5, 2020  Thursday

   Email   : jakerpomperada@gmail.com

   Place   : Bacolod City, Negros Occidental, Philippines

   Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com

*/


#include <stdio.h>


int main() {

  int product=0, quotient=0;

  int a=0,b=0;


  printf("\n\n");

  printf("\tProduct and Quotient of Two Numbers in C");

  printf("\n\n");

  printf("\tEnter First  Value : ");

  scanf("%d",&a);

  printf("\tEnter Second Value : ");

  scanf("%d",&b);


  product = (a*b);

  quotient = (a/b);


  printf("\n\n");

  printf("\tThe product of %d and %d is %d.\n\n",a,b,product);

  printf("\tThe quotient between %d and %d is %d."

         ,a,b,quotient);

  printf("\n\n");

  printf("\tEnd of Program");

  printf("\n\n");

}


Product and Difference of Two Numbers in C

  A program that I wrote using C programming language that will ask the user to give two numbers and then the program compute the product and difference of two numbers and display the results on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price.

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.


Program Listing


 /*product_difference.c

   Author  : Jake Rodriguez Pomperada, MAED-IT, MIT

   Date    : November 5, 2020  Thursday

   Email   : jakerpomperada@gmail.com

   Place   : Bacolod City, Negros Occidental, Philippines

   Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com

*/


#include <stdio.h>


int main() {

  int product=0, difference=0;

  int a=0,b=0;


  printf("\n\n");

  printf("\tProduct and Difference of Two Numbers in C");

  printf("\n\n");

  printf("\tEnter First  Value : ");

  scanf("%d",&a);

  printf("\tEnter Second Value : ");

  scanf("%d",&b);


  product = (a*b);

  difference = (a-b);


  printf("\n\n");

  printf("\tThe product of %d and %d is %d.\n\n",a,b,product);

  printf("\tThe difference between %d and %d is %d."

         ,a,b,difference);

  printf("\n\n");

  printf("\tEnd of Program");

  printf("\n\n");

}



Sum and Product of Two Numbers in C

  A program that I wrote using C programming language that will ask the user to give two numbers and then the program compute the sum and product of two numbers and display the results on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price.

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.


Program Listing

 /* sum_product.c

   Author  : Jake Rodriguez Pomperada, MAED-IT, MIT

   Date    : November 5, 2020  Thursday

   Email   : jakerpomperada@gmail.com

   Place   : Bacolod City, Negros Occidental, Philippines

   Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com

*/


#include <stdio.h>


int main() {

  int sum=0,product=0;

  int a=0,b=0;


  printf("\n\n");

  printf("\tSum and Product of Two Numbers in C");

  printf("\n\n");

  printf("\tEnter First  Value : ");

  scanf("%d",&a);

  printf("\tEnter Second Value : ");

  scanf("%d",&b);


  sum = (a+b);

  product = (a*b);


  printf("\n\n");

  printf("\tThe sum of %d and %d is %d.\n\n",a,b,sum);

  printf("\tThe product of %d and %d is %d."

         ,a,b,product);

  printf("\n\n");

  printf("\tEnd of Program");

  printf("\n\n");

}


Sum and Difference of Two Numbers in C

Sum and Difference of Two Numbers in C

 A program that I wrote using C programming language that will ask the user to give two numbers and then the program compute the sum and difference of two numbers and display the results on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price.

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.


Program Listing

 /* sum_difference.c


   Author  : Jake Rodriguez Pomperada, MAED-IT, MIT


   Date    : November 5, 2020  Thursday


   Email   : jakerpomperada@gmail.com


   Place   : Bacolod City, Negros Occidental, Philippines


   Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com


*/


#include <stdio.h>


int main() {

  int sum=0,difference=0;

  int a=0,b=0;


  printf("\n\n");

  printf("\tSum and Difference of Two Numbers in C");

  printf("\n\n");

  printf("\tEnter First  Value : ");

  scanf("%d",&a);

  printf("\tEnter Second Value : ");

  scanf("%d",&b);


  sum = (a+b);

  difference = (a-b);


  printf("\n\n");

  printf("\tThe sum of %d and %d is %d.\n\n",a,b,sum);

  printf("\tThe difference between %d and %d is %d."

         ,a,b,difference);

  printf("\n\n");

  printf("\tEnd of Program");

  printf("\n\n");

}


Wednesday, November 4, 2020

Prime Number Checker Using ASP NET

Prime Number Checker Using ASP.NET

 In this tutorial, I show you how to write a program using VB.NET and ASP.NET to ask the user to give a number and then the program will check if the given number is a prime number or not.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price.

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.




Program Listing

Default.aspx.vb

Public Class _Default

    Inherits System.Web.UI.Page


    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click

        Dim a As Integer


        a = Val(txtNumber.Text)

        Dim N, D As Single

        Dim tag As String


        N = Val(TxtNumber.Text)


        Select Case N

            Case Is < 2

                Label1.Text = "The given number " & N & " is not a prime number."


            Case Is = 2

                Label1.Text = "The given number " & N & " is a prime number."


            Case Is > 2

                D = 2

                Do

                    If N / D = Int(N / D) Then

                        Label1.Text = "The given number " & N & " is not a prime number."

                        tag = "Not Prime"

                        Exit Do

                    End If

                    D = D + 1


                Loop While D <= N - 1

                If tag <> "Not Prime" Then

                    Label1.Text = "The given number " & N & " is a prime number."

                End If

        End Select



    End Sub


    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click

        txtNumber.Text = ""

        Label1.Text = ""

        txtNumber.Focus()

    End Sub

End Class


Default.aspx


<%@ Page Title="Addition of Two Numbers Using ASP.NET" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"

    CodeBehind="Default.aspx.vb" Inherits="demo._Default" %>


<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

    <style type="text/css">

        .style1

        {

            font-size: medium;

        }

        .style2

        {

            font-family: Arial, Helvetica, sans-serif;

            font-size: medium;

        }

        </style>

</asp:Content>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <h2 class="style2">

        C<strong>reated By Mr. Jake R. Pomperada, MAED-IT, MIT</strong></h2>

    <p class="style1">

        <strong>Enter first value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

        <asp:TextBox ID="txtNumber" runat="server" 

            style="font-size: medium; font-family: Arial, Helvetica, sans-serif"></asp:TextBox>

        </strong>

    </p>

    <p class="style1">

        <strong>&nbsp;<asp:Label ID="Label1" runat="server"></asp:Label>

        &nbsp;&nbsp;

        </strong>

    </p>

    <p class="style1">

        <strong>&nbsp;&nbsp; &nbsp;&nbsp;

        </strong>

        <asp:Button ID="Button1" runat="server" Font-Bold="True" Height="29px" 

            style="font-size: medium; text-align: center" Text="Check" Width="63px" 

            

            ToolTip="Click here to check if the given number is prime number or not." />

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

        <asp:Button ID="Button2" runat="server" Font-Bold="True" Height="29px" 

            style="font-size: medium; text-align: center" Text="Clear" Width="63px" 

            ToolTip="Click here to clear the text box." />

    </p>

    <p class="style1">

        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</p>

    <p>

        &nbsp;</p>

</asp:Content>



Product of Two Numbers in ASP NET

Product of Two Numbers in ASP.NET

 I wrote this simple program using vb.net and asp.net to ask the user to give a number and then the program will compute the product of two numbers and display the results on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price.

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com





Program Listing


default.aspx

<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"

    CodeBehind="Default.aspx.vb" Inherits="Product_of_Two_Numbers_in_ASP.NET._Default" %>


<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

    <style type="text/css">

        .style1

        {

            font-size: medium;

        }

    </style>

</asp:Content>

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <h2>

        <strong><b>Product of Two Numbers in ASP.NET</b>

    </strong>

    </h2>

    <p class="style1">

        <strong>Give First Value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

        <asp:TextBox ID="txtvalue1" runat="server" style="font-size: medium"></asp:TextBox>

        </strong>

    </p>

    <p class="style1">

        <strong>Give Second Value&nbsp; &nbsp;&nbsp;&nbsp;

        <asp:TextBox ID="txtvalue2" runat="server" style="font-size: medium"></asp:TextBox>

        </strong>

    </p>

    <p class="style1">

        <asp:Label ID="Label1" runat="server" style="font-weight: 700"></asp:Label>

    </p>

    <p class="style1">

        <asp:Button ID="Button1" runat="server" Font-Bold="True" Font-Size="14pt" 

            Text="Compute" 

            ToolTip="Click here to compute the product oft two numbers." />&nbsp;&nbsp;&nbsp;&nbsp;

        <asp:Button ID="Button2" runat="server" Font-Bold="True" Font-Size="14pt" 

            Text="Clear" ToolTip="Click here to clear the textbox." />

    </p>

    <p class="style1">

        &nbsp;</p>

    </asp:Content>


default.aspx.vb

Public Class _Default
    Inherits System.Web.UI.Page


    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
        Dim a, b, product As Integer

        a = Val(txtvalue1.Text)
        b = Val(txtvalue2.Text)

        product = (a * b)

        Label1.Text = "The product of " & a & " and " & b & " is " & product & "."
    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click
        txtvalue1.Text = ""
        txtvalue2.Text = ""
        Label1.Text = ""
        Label1.Focus()
    End Sub
End Class

Tuesday, November 3, 2020

Product and Quotient of Two Numbers in Java

Product and Quotient of Two Numbers in Java

 In this article, I show you how to write a program that will ask the user to give two numbers, and then the program will compute the product and quotient of two numbers using Java programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price.

My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com







Program Listing


import java.util.Scanner;


/**

 * @author Jake Rodriguez Pomperada, MAED-IT, MIT

 * jakerpomperada@gmail.com

 * www.jakerpomperada.com

 * Bacolod City, Negros Occidental

 * November 3, 2020

 */


public class Product_Quotient {


public static void main(String[] args) {

// TODO Auto-generated method stub

  

int num_1=0,num_2=0;

 

int product=0,quotient=0;             

  

  String input;                

      

      Scanner keyboard = new Scanner(System.in);

           

         

      System.out.println("\n");

      System.out.print("\t\tProduct and Quotient of Two Numbers in Java");

        System.out.println("\n");

             

      System.out.print("\tGive First Number  : ");

         num_1 = keyboard.nextInt();

         

         System.out.print("\tGive Second Number : ");

         num_2 = keyboard.nextInt();

         

         product = (num_1 * num_2);

         

         quotient = (num_1 / num_2);


        System.out.println();

         System.out.println("\tThe product of " + num_1 + " and " +

                         num_2 + " is " + product + ".\n");

         System.out.println("\tThe quotient of " + num_1 + " and " +

                     num_2 + " is " + quotient + ".");    

     

                

      System.out.print("\n\n");

  System.out.println("\tEnd of Program");

  System.out.println("\n\n");


}


}