Friday, November 4, 2022

Quick Sort in C

 A quick sort program that I wrote 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 at 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.






Program Listing

#include <stdio.h> #include <stdlib.h> int Quick_Sort(int *items, int left, int right) { int pivot = left; int i = left +1, j = right, temp; if (left < right) { while (1) { while (items[j] > items[pivot]) j--; while (items[i] <= items[pivot]) i++; if (i < j) { temp = items[i]; items[i] = items[j]; items[j] = temp; } else break; } temp = items[pivot]; items[pivot] = items[j]; items[j] = temp; Quick_Sort(items, left, j-1); Quick_Sort(items, j+1, right); } return 0; } int main() { int a=0,num=0, *items; printf("\n"); printf("\tQuick Sort in C"); printf("\n\n"); printf("\tHow Many Items? : "); scanf("%d", &num); items = (int *)malloc(sizeof (int) * num); printf("\n\n"); for (a = 0; a < num; a++) { printf("\tEnter Value in Item No. %d : ",a+1); scanf("%d", &items[a]); } printf("\n\n"); printf("\tBefore Sorting\n"); printf("\n\n"); printf("\t"); for (a = 0; a < num; a++) printf("%5d",items[a]); printf("\n"); Quick_Sort(items, 0, num-1); printf("\n\n"); printf("\tAfter Sorting:\n"); printf("\n\n"); printf("\t"); for (a= 0; a < num; a++) printf("%5d", items[a]); printf("\n\n"); printf("\tEnd of Program"); printf("\n"); }

Count Number of Years, Weeks, and Days in TypeScript

 Machine Problem

Write a program to convert it to years, weeks and days the given day is 373 and display the result 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 at 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing


/* days.ts

   Jake Rodriguez Pomperada, MAED-IT, MIT

   www.jakerpomperada.com and www.jakerpomperada.blogspot.com

   jakerpomperada@gmail.com

   July 18, 2022 2:51 PM  Monday

   Bacolod City, Negros Occidental

*/


var days = 373; 


var given_days = days;


 /* Conversion in this portion */

 var years = days / 365;

 var weeks =(days % 365) / 7

 var days =(days % 365) % 7


 console.log();

 console.log("\tDisplay Results\n");

 console.log("\tThe given days  : " + given_days);

 console.log();

 console.log("\tNumber of Years : " + Math.floor(years));

 console.log("\tNumber of Weeks : " + Math.floor(weeks));

 console.log("\tNumber of Days  : " + Math.floor(days) + "\n");

 console.log("\tEnd of Program\n");

Inches To Centimeter in TypeScript

Inches To Centimeter in TypeScript

 Machine Problem

Write a program that will convert the given inches value of 6.71 into centimeter equivalent 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 at 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

/* feet_cm.ts Jake Rodriguez Pomperada, MAED-IT, MIT www.jakerpomperada.com and www.jakerpomperada.blogspot.com jakerpomperada@gmail.com July 13, 2022 2:40 PM Wednesday Bacolod City, Negros Occidental */ var inches = 6.71; // Converting to Centimeter let cm = inches * 2.54; let two_decimal = cm.toFixed(2); console.log(); console.log("Inches To Centimeter in TypeScript\n"); console.log(inches + " inche(s) the centimeter equvalent is " + two_decimal + " centimeter(s).\n"); console.log("End of Program\n");

Thursday, November 3, 2022

Current Day of the Week in Visual Basic NET

Current Day of the Week in Visual Basic NET

  A simple program to display the current day of the week using Visual Basic .NET 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 at 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

Module Module1 Sub Main() Dim Days_of_the_Week As Integer Days_of_the_Week = Now.DayOfWeek Select Case Days_of_the_Week Case 1 Console.WriteLine("Today is Sunday") Case 2 Console.WriteLine("Today is Monday") Case 3 Console.WriteLine("Today is Tuesday") Case 4 Console.WriteLine("Today is Wednesday") Case 5 Console.WriteLine("Today is Thursday") Case 6 Console.WriteLine("Today is Friday") Case 7 Console.WriteLine("Today is Saturday") End Select Console.ReadKey() End Sub End Module


Wednesday, November 2, 2022

Check Vowel in C++

Check Vovel in C++

  A simple program to ask the user to give a character and then the program will if the given character is a vowel or not 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 at 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.






Program Listing


#include <iostream>



using namespace std;


int main()

{

 

    char ch, display;

 

    cout <<"\n";

    cout <<"\tCheck Vowel in C++\n\n";

    cout <<"\tGive Character :  ";

    cin >> ch;


   display = toupper(ch);

    cout <<"\n\n";

    switch(toupper(ch))

    {

        

        case 'A':

        case 'E':

        case 'I':

        case 'O':

        case 'U':

            cout <<"\t " << display << " is a vowel.\n\n";

            break;

        default:

           cout <<"\t " << display << " is not a vowel.\n\n";

    }

    cout <<"\n";

    cout <<"\tEnd of Program";

    cout <<"\n";

    return 0;

}


Check Vowel in C

Check Vowel in C

 A simple program to ask the user to give a character and then the program will if the given character is a vowel or not 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 at 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

#include<stdio.h> int main() { char ch; printf("\n"); printf("\tCheck Vowel in C\n\n"); printf("\tGive Character : "); scanf("%c", &ch); printf("\n\n"); switch(toupper(ch)) { case 'A': case 'E': case 'I': case 'O': case 'U': printf("\t%c is a vowel.\n\n", toupper(ch)); break; default: printf("\t%c is not a vowel.\n\n", toupper(ch)); } printf("\n"); printf("\tEnd of Program"); printf("\n"); return 0; }

Tuesday, November 1, 2022

Jake R. Pomperada IT Consulting Services

Jake R. Pomperada IT Consulting Services

 Jake R. Pomperada IT Consulting Services


                                   JAKE R. POMPERADA, MAED-IT, MIT


I offering my services in Information Technology  consulting, Software Development, Web Design and Development and Computer Programming Services.

You may contact me at the following email address.


jakerpomperada@gmail.com  


jakerpomperada@yahoo.com


My mobile number here in the Philippines

09173084360


Quality Service at a Very Affordable Cost is my business.

Thank you very much for your support.


Student Year Level in Visual Basic NET

Student Year Level in VB.NET

A simple program to check if the given number belongs to freshmen, sophomore, juniors, or seniors using Visual Basic NET 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 at 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

Module Module1 Sub Main() Console.WriteLine() Console.Write("Give Your Year Level : ") Dim year_level As Integer = Console.ReadLine() Console.WriteLine() Select Case year_level Case 1 Console.WriteLine("You Belong To Freshmen.") Case 2 Console.WriteLine("You Belong To Sophomore.") Case 3 Console.WriteLine("You Belong To Juniors.") Case 4 Console.WriteLine("You Belong To Seniors.") Case Else Console.WriteLine("Invalid Year Level. Try Again.") End Select Console.ReadKey() End Sub End Module

Select Case Statement in Visual Basic NET

Select Case Statement in VB.NET

 A simple program to demonstrate select case statement in Visual Basic NET 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 at 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

Module Module1


    Sub Main()

        Console.WriteLine()

        Console.Write("Give a Number : ")


        Dim num_val As Integer = Console.ReadLine()


        Console.WriteLine()


        Select Case num_val


            Case 1

                Console.WriteLine("You Choose Number One.")


            Case 2

                Console.WriteLine("You Choose Number Two.")


            Case 3

                Console.WriteLine("You Choose Number Three.")


            Case 4

                Console.WriteLine("You Choose Number Four.")


            Case Else

                Console.WriteLine("Invalid Number Value")


        End Select


        Console.ReadKey()

    End Sub


End Module


Celsius To Fahrenheit in Go