Monday, December 2, 2019

Sweet Alert Using JQuery and Visual Basic 6

A program that is written by my close friend and fellow software engineer Sir Larry Dave Emol. I would like to say thank you so much Sir Larry for sharing your code to us.

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, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My Facebook address is https://www.facebook.com/profile.php?...

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/

Thank you very much for your help and support.





Sample Program Output




Heap Sort in C++

I wrote this program that will accept ten numbers and then the program will sort the given number and display the sorted values using a heap sort algorithm 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, Negros Occidental I also accepting computer repair, 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.




Thank you very much for your help and support.




Sample Program Output


Program Listing

heap_sort.cpp

// heap_sort.cpp
// Jake R. Pomperada, MAED-IT
// December 2, 2019

#include <iostream>

using namespace std;

void heapify(int array[], int len, int i)
{
    int largest = i;
    int left = 2 * i + 1;
    int right = 2 * i + 2;

    if (left < len && array[left] > array[largest])
        largest = left;

    if (right < len && array[right] > array[largest])
        largest = right;

    if (largest != i)
    {
        swap(array[i], array[largest]);

        heapify(array, len, largest);
    }
}

void heapSort(int array[], int len)
{
    for (int i = len / 2 - 1; i >= 0; i--)
        heapify(array, len, i);

    for (int i = len - 1; i >= 0; i--)
    {
        swap(array[0], array[i]);
        heapify(array, i, 0);
    }
}

void print(int array[], int len)
{
    cout <<"\t";
    for (int i = 0; i < len; ++i)
        cout <<" " << array[i] << " ";
    cout << endl;
}

int main()
{
 int array[10];

 cout <<"\n\n";
 cout << "\tHeap Sort in C++";
 cout <<"\n\n";
 for (int a=0; a<10; a++) {
    cout << "\tEnter item value number " <<a+1 <<" : ";
cin >> a[array]; 
  }
  cout <<"\n\n";
  cout << "\tUnSorted array: \n";
  cout <<"\n ";
  cout <<"\t";
  for (int a=0; a<10; a++) {
  cout <<" " <<a[array] <<" ";
  }
  cout <<"\n\n";
  cout << "\tSorted array: \n";
  cout <<"\n";
  int len = sizeof(array) / sizeof(array[0]);
  heapSort(array, len);
  print(array, len);
  cout <<"\n";
  cout <<"\tEnd of Program";
  cout <<"\n";
}

Insertion Sort in C++

I wrote this program that will accept ten numbers and then the program will sort the given number and display the sorted values using an insertion sort algorithm 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, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My Facebook address is https://www.facebook.com/profile.php?...

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/

Thank you very much for your help and support.




Sample Program Output


Program Listing

insertion_sort.cpp


#include <iostream>

// insertion_sort.cpp
// Jake R. Pomperada, MAED-IT
// December 2, 2019

#include <iostream>

using namespace std;

void printArray(int array[], int size)
{
 cout <<"\t";
  for (int i = 0; i < size; i++)
  {
    cout <<" " <<array[i] << " ";
  }
  cout << endl;
}
void insertionSort(int array[], int size)
{
  for (int step = 1; step < size; step++)
  {
    int key = array[step];
    int j = step - 1;
    while (key < array[j] && j >= 0)
    {
     
      array[j + 1] = array[j];
      --j;
    }
    array[j + 1] = key;
  }
}

int main()
{
 int data[10];

 cout <<"\n\n";
 cout << "\tInsertion Sort in C++";
 cout <<"\n\n";
 for (int a=0; a<10; a++) {
    cout << "\tEnter item value number " <<a+1 <<" : ";
cin >> a[data]; 
  }
  cout <<"\n\n";
  cout << "\tUnSorted array: \n";
  cout <<"\n\n";
  cout <<"\t";
  for (int a=0; a<10; a++) {
  cout <<" " <<a[data] <<" ";
  }
  cout <<"\n\n";
  int size = sizeof(data) / sizeof(data[0]);
  insertionSort(data, size);
  cout << "\tSorted array: \n";
  cout <<"\n\n";
  printArray(data, size);
}




Shell Sort in C++

I wrote this program that will accept ten numbers and then the program will sort the given number and display the sorted values using shell sort algorithm using 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, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My Facebook address is https://www.facebook.com/profile.php?...

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/

Thank you very much for your help and support.



Sample Program Output


Program Listing

shell.cpp

// shell_sort.cpp
// Jake R. Pomperada, MAED-IT
// December 2, 2019

#include <iostream>

using namespace std;

void shellSort(int array[], int n)
{
  for (int gap = n / 2; gap > 0; gap /= 2)
  {
    for (int i = gap; i < n; i += 1)
    {
      int temp = array[i];
      int j;
      for (j = i; j >= gap && array[j - gap] > temp; j -= gap)
      {
        array[j] = array[j - gap];
      }
      array[j] = temp;
    }
  }
}
void printArray(int array[], int size)
{
  int i;
  cout <<"\t";
  for (i = 0; i < size; i++)
    cout <<" " << array[i] << " ";
  cout << endl;
}

int main()
{
 int data[10];

 cout <<"\n\n";
 cout << "\tShell Sort in C++";
 cout <<"\n\n";
 for (int a=0; a<10; a++) {
    cout << "\tEnter item value number " <<a+1 <<" : ";
cin >> a[data]; 
  }
  cout <<"\n\n";
  cout << "\tUnSorted array: \n";
  cout <<"\n\n";
  cout <<"\t";
  for (int a=0; a<10; a++) {
  cout <<" " <<a[data] <<" ";
  }
  cout <<"\n\n";
  int size = sizeof(data) / sizeof(data[0]);
  shellSort(data, size);
  cout << "\tSorted array: \n";
  cout <<"\n\n";
  printArray(data, size);
}



Sunday, December 1, 2019

Square a Number in C++ Using a Text File

A simple program that I wrote a long time ago to ask the user to give a number and then the program will square the given number and store the results in a text file using 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, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My Facebook address is https://www.facebook.com/profile.php?...

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/

Thank you very much for your help and support.


Program Listing

write.cpp

#include <iostream>
#include <fstream>

using namespace  std;

main() {
    int value=0;

    ofstream myfile("result.txt");
    cout << "Enter a Number : ";
    cin >> value;
    cout << "\n\n The square value of "
     << value << " is " << value * value << ".";

    myfile << "Enter a Number : " << value;

    myfile << "\n\n The square value of "
     << value << " is " << value * value << ".";

    myfile.close();
   return 0;
}


Odd and Even Numbers Using Classes in C++

A simple program that I wrote using C++ to ask the user to give a number and then the program will check if the given number is odd or even using classes 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, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My Facebook address is https://www.facebook.com/profile.php?...

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/

Thank you very much for your help and support.


Program Listing

#include <iostream>

using namespace std;

class odd {
    public:
    int x;
};

main() {

    odd value;
    cout << "Enter a Number :=> ";
    cin >> value.x;
    if(value.x==0)
    {
        cout<<"ZERO";
    }
    else if(value.x%2==0)
    {
        cout<<"EVEN NUMBER";
    }
    else
    {
        cout<<"ODD NUMBER";
    }
    cout << "\n\n";
    system("pause");
}



Food Ordering System in PHP and MySQL

A simple food ordering system that I wrote a long time ago in PHP and MySQL.

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, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My Facebook address is https://www.facebook.com/profile.php?...

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/

Thank you very much for your help and support.




Sample Program Output




Data Tables BootStrap 4 in Visual Basic 6

A program that is written by my close friend and fellow software engineer Sir Larry Dave Emol. I would like to say thank you so much Sir Larry for sharing your code to us.

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, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My Facebook address is https://www.facebook.com/profile.php?...

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/

Thank you very much for your help and support.



Sample Program Output





JQuery Crud Function in Visual Basic 6

A program that is written by my close friend and fellow software engineer Sir Larry Dave Emol. I would like to say thank you so much Sir Larry for sharing your code to us.

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, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My Facebook address is https://www.facebook.com/profile.php?...

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/

Thank you very much for your help and support.




Sample Program Output