Wednesday, October 28, 2020

Highest Value in Array List in ASP.NET

 A simple program that I wrote in VB.NET and ASP.NET to check which of the array list value has the highest value.

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.





Program Listing


Public Class _Default

    Inherits System.Web.UI.Page


    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


    End Sub


    Public Function DetermineMax(ByVal itemList As ArrayList)


        Dim max As Integer = Nothing


        For i As Integer = 0 To (itemList.Count - 1)

            If i = 0 Then

                max = itemList(i)

            Else

                If itemList(i) > max Then max = itemList(i)

            End If

        Next


        DetermineMax = max


    End Function


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

        Dim numList As New ArrayList


        numList.Add(1)

        numList.Add(523)

        numList.Add(3)

        numList.Add(155)

        numList.Add(123)

        numList.Add(15)

        numList.Add(25)

        numList.Add(1225)

        numList.Add(5)



        Label1.Text = "==== List of Numbers ===== "


        For i As Integer = 0 To numList.Count - 1

            Dim val As String = numList(i).ToString()

            Label1.Text += "<br />" + val

        Next


        Label2.Text = "The highest number is " + DetermineMax(numList).ToString()


    End Sub

End Class

Finding Duplicate Numbers in ASP NET

Finding the Duplicate Numbers in ASP.NET

 I show you how to write a program that will determine which of the numbers in the given list is duplicate using Microsoft ASP.NET.

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.





Program Listing


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Duplicate
{
    public partial class _Default : System.Web.UI.Page
    {
               

    
        protected void Button1_Click1(object sender, EventArgs e)
        {
           Dictionary<int, string> num_bers = new Dictionary<int, string>() {  
            {1,"1"},  
            {2,"2"},  
            {3,"3"},  
            {4,"4"},  
            {5,"3"},  
            {6,"1"},  
            {7,"1"},
            {8,"1"},  
            {9,"4"},
            {10,"4"}  
        };

        Label1.Text = "List of Numbers..........";
        foreach (KeyValuePair<int, string> pair in num_bers)
        {
            Label1.Text += "<br />" + pair.Key + " ........ " + pair.Value;
        }

        //get dictionary duplicate values.
        var duplicatesValue = num_bers.GroupBy(x => x.Value).Where(x => x.Count() > 1);

        Label1.Text += "<br /><br />List of Numbers that has Duplicate Values..........<br />";  
        foreach(var item in duplicatesValue)
        {
            Label1.Text += item.Key + "<br />";
        }
        }

        
        }

       
    }




Addition of Two Numbers in ASP NET

Addition of Two Numbers in ASP.NET

 I wrote this program to ask the user to give two numbers and then the program will compute the sum of two numbers using Microsoft ASP.NET

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.





Program Listing

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, sum As Integer

        a = Val(TextBox1.Text)
        b = Val(TextBox2.Text)


        sum = (a + b)

        TextBox4.Text = Val(sum)

    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click
        TextBox1.Text = ""
        TextBox2.Text = ""
        TextBox4.Text = ""
        TextBox1.Focus()
    End Sub
End Class


Odd and Even Number Checker in ASP NET

Odd and Even Number Checker in ASP.NET

 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 odd or even using Microsoft ASP.NET

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.





Program Listing

Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
        Dim a As Integer
        a = Val(TextBox1.Text)

        If (a Mod 2 = 0) Then
            Label1.Text = "The given number " + TextBox1.Text + " is even number."
        Else
            Label1.Text = "The given number " + TextBox1.Text + " is odd number."
        End If
    End Sub

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

    End Sub
End Class

Quotient and Remainder Numbers in C++

I wrote this program that will ask the user is asked to enter two number (divisor and dividend) and the quotient and the remainder of their division is computed.

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.





Program Listing


// divident.cpp
// Jake Rodriguez Pomperada, MAED-IT,MIT
// www.jakerpomperada.com / www.jakerpomperada.blogspot
// jakerpomperada@gmail.com
// Bnacolod City, Negros Occidental Philippines

#include <iostream>

using namespace std;

int main()
{
    int divisor=0, dividend=0;
    int quotient=0, remainder=0;

    cout << "\n\n";
    cout << "\tQuotient and Remainder Numbers in C++";
    cout << "\n\n";
    cout << "\tGive dividend value : ";
    cin >> dividend;

    cout << "\n";
    cout << "\tGive divisor value  : ";
    cin >> divisor;

    quotient = (dividend / divisor);
    remainder = (dividend % divisor);

    cout << "\n\n";
    cout << "\tThe Quotient Value  : " << quotient <<"\n";
    cout << "\tThe Remainder Value : " << remainder;
    cout << "\n\n";
    cout << "\tEnd of Program";
    cout << "\n\n";
}

Tuesday, October 27, 2020

FINALE EPISODE | MICHELLE, NAGISA SA SARILI NIYANG MANTIKA!

Factorial a Number in Visual FoxPro

Factorial of a Number in Visual Foxpro

 In this article, I will show you how to write a program using a Microsoft Visual Foxpro to ask the user  to give a number, and then the program will compute the factorial value of the given number by our user 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.







Program Listing


* Object : Command1      Procedure: Click
*
* Created By Jake R. Pomperada, MAED-IT, MIT
* www.jakerpomperada.com  / www.jakerpomperada.blogspot.com
* jakerpomperada@gmail.com 
* Microsoft Visual Foxpro 9.-
* Bacolod City, Negros Occidental, Philippines
   
   f = VAL(thisform.txtNumber.Text)
   
    LOCAL i, r

    r = 1
    FOR i = f TO 1 STEP -1
        r = r * i
    NEXT 
   
thisform.label2.Caption = "The factorial value is " + LTRIM(STR(r)) + "."

* Object : Command2      Procedure: Click
*

thisform.txtNumber.value = ""
thisform.label2.Caption = ""
thisform.txtNumber.SetFocus

Monday, October 26, 2020

Days To Years, Months, and Days in C++

Days To Years, Weeks, and Days in C++

 I will show you how to write a program using a C++ programming language that accepts days as integer and display the total number of years, months, and days in it.

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.


Program Listing

// days.cpp
// Jake R. Pomperada, MAED-IT,MIT
// www.jakerpomperada.com / www.jakerpomperada.blogspot.com
// jakerpomperada@gmail.com
// Bacolod City, Negros Occidental, Philippines

#include <iostream>

using namespace std;

int main()
{
int days=0,y=0,m=0,d=0;

cout <<"\n\n";
cout <<"\tDays To Years, Weeks, and Days in C++";
cout <<"\n\n";
cout <<"\tGive Number of Days : ";
cin>>days;

y=(days/365);
days=(days%365);
m=(days/30);
d=(days%30);

cout <<"\n\n";
cout <<"\tNumber of Years  : " <<y<<"\n";
cout <<"\tNumber of Months : " <<m<<"\n";
cout <<"\tNumber of Days   : " <<d <<"\n";
    cout <<"\n\n";
    cout << "\tEnd of Program";
    cout <<"\n\n";
}

Sunday, October 25, 2020

Subject Grade Solver in Visual Foxpro

Student Grade Solver in Visual Foxpro

 A simple student grade solver that I wrote 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.







Program Listing


* Computer Button   

* Object: Command1    Procedure: Click

prelim = VAL(thisform.txtprelim.value) * 0.2
midterm = VAL(thisform.txtmidterm.value) * 0.3
endterm  = VAL(thisform.txtendterm.value) * 0.5

solve = prelim + midterm + endterm

final_grade =ltrim(padl(solve,2))

thisform.txtfinals.value = final_grade

IF (solve >= 75) then
   MESSAGEBOX("You Pass the Subject.")
   ELSE
   MESSAGEBOX("You Failed the Subject.")
endif



Saturday, October 24, 2020

Cout and Cin in C++

 In this tutorial I will show you how to use the cout and cin commands in 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.





Program Listing

// cout_cin.cpp
// Jake Rodriguez Pomperada, MAED-IT, MIT
// www.jakerpomperada.blogspot.com / www.jakerpomperada.com
// jakerpomperada@gmail.com
// Bacolod City, Negros Occidental Philippines

#include <iostream>

using namespace std;

int main()
{
    string user_name;
    int age = 0;

    cout <<"\n";
    cout <<"\t\tCout and Cin in C++\n\n";
    cout <<"\t  Jake R. Pomperada,MAED-IT,MIT";
    cout <<"\n\n";
    cout << "\tWhat is your name? : ";
    cin >> user_name;
cout << "\tWhat is your age?  : ";
cin >> age;
cout <<"\n\n";
    cout <<"\tHello " << user_name <<
         " your age is " << age << " years old.";
    cout <<"\n\n";
    cout <<"\tEnd of Program";
    cout <<"\n";
}



Bubble Sort in C++

Bubble Sort in C++

 In this articles, I will show you how to write a bubble sort program which uses C++ as our programming language using for loop statements and arrays data structures.

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



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.






Program Listing

// addition_subtraction.cpp
// Jake Rodriguez Pomperada, MAED-IT, MIT
// www.jakerpomperada.blogspot.com / www.jakerpomperada.com
// jakerpomperada@gmail.com
// Bacolod City, Negros Occidental Philippines

#include <iostream>

using namespace std;

int main()
{
    int arr[100],n=0;
    int i=0,j=0,temp=0;

    cout <<"\n";
    cout <<"\t\tBubble Sort in C++\n\n";
    cout <<"\t  Jake R. Pomperada,MAED-IT,MIT";
    cout <<"\n\n";

cout<<"\tGive the size of array: ";
cin>>n;
    cout <<"\n\n";

for(i=0;i<n;++i) {
        cout<<"\tGive Array Element Value No."
         <<(i+1)<< " : ";
cin>>arr[i];
}

cout <<"\n\n";

cout <<"\tOriginal Arrangement of Values";
cout <<"\n\n";
cout <<"\t";
for(i=0;i<n;++i) {
cout<<" "<<arr[i];
}

for(i=1;i<n;++i)
{
for(j=0;j<(n-i);++j)
if(arr[j]>arr[j+1])
{
temp=arr[j];
arr[j]=arr[j+1];
arr[j+1]=temp;
}
}
    cout <<"\n\n";
cout<<"\tArray Arrangement After Bubble Sort";
cout <<"\n\n";
cout <<"\t";
for(i=0;i<n;++i) {
cout<<" "<<arr[i];
}
    cout <<"\n\n";
    cout <<"\tEnd of Program";
    cout <<"\n";
}



Mahalaga pa ba pag aralan ang C Programming Language sa 2020

Addition and Subtraction By Another Number in C++