Sunday, October 2, 2022

How To Declare a Function in Python

 A simple program to show you how to declare and use a function in Python 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/


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

def my_function_example():
print("Welcome to PyCharm Community Edition")

my_function_example()


 




Saturday, October 1, 2022

How To Use Strlen in C

 In this article I will teach you how to use strlen function 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/


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 <string.h>

void main()
{
 char str[] = "Computers";
 int len_str;
 len_str = strlen(str);
 printf("The word is %s  the length is %d\n", str, len_str);

}
 


Friday, September 30, 2022

Increment a Number in C++

Increment a Number in C++

 A simple program to increment a given number 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/


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>


int main()
{
 int a=10,b=20;

 std::cout << "\n\n";
 std::cout <<"\tIncrement a Number in C++";
 std::cout << "\n\n";
 std::cout << "\tOrginal Value of A   : " << a <<"\n";
 std::cout << "\n\n";

 a++;

 std::cout << "\tIncrement Value of A : " << a <<"\n";
 std::cout << "\n\n";
 std::cout << "\tOrginal Value of B   : " << b <<"\n";
 std::cout << "\n\n";

 b++;

 std::cout << "\tIncrement Value of B : " << b <<"\n";
 std::cout << "\n\n";
 std::cout << "\tEnd of Program";
 std::cout << "\n\n";


}

Introduction To C++

Reverse a Number in C

Reverse a Number in C

 A program that will ask the user to give a number and then the program will reversed the arrangement of the given number 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/


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

reverse.c

#include <stdio.h>


int main()

{

    int n=0;

    int rev_num = 0;

    

    printf("\n\n");

    printf("\tReverse a Number in C");

    printf("\n\n");

    printf("\tGive a Number : ");

    scanf("%d",&n);

    

    while(n!=0){

      rev_num = rev_num * 10 + n%10;

      n = n/10;

    }

    

    printf("\n\n");

    printf("\tReversed Number : %d", rev_num);

    printf("\n\n");

    printf("\tEnd of Program");

    printf("\n\n");

}


Student Year Level in Java

Thursday, September 29, 2022

Student Year Level in Java

 A simple program to ask the user to give year level and then the program will check if the given year level belongs to freshmen, sophomore, juniors or seniors 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 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/


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

import java.util.Scanner;

public class Year_Level {

public static void main(String[] args) {
// TODO Auto-generated method stub
  int year_level;
  Scanner input = new Scanner(System.in);
  
    System.out.println();
       System.out.print("\tStudent Year Level in Java\n");
   System.out.println();
  System.out.print("\tEnter your year level: ");
  year_level = input.nextInt();
  
  System.out.println("\n");
  
  switch (year_level)
  {
  case 1: System.out.println("\tYou Belong To Freshmen."); break;
  case 2: System.out.println("\tYou Belong To Sophomore."); break;
  case 3: System.out.println("\tYou Belong To Juniors."); break;
  case 4: System.out.println("\tYou Belong To Seniors."); break;
  default: System.out.println("\tInvalid Year Level. Try Again.");
    }
   
  System.out.println("\n");
  System.out.print("\tEnd of Program\n"); 
input.close();
}
}


Cube a Number Using Pointers in C++

Cube a Number Using Pointers in C++

 A program that will ask the user to give a number and then the program will compute the cube value of the given number using pointers 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 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

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


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada



You can buy my C++ book online at  


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


Thank you very much for your support.





Program Listing


#include <iostream>

using namespace std;

int main() 
{
int num=0, cube=0;
    int *pointer;
    
    cout <<"\n\n";
    cout <<"\tCube a Number Using Pointers in C++\n\n";
    cout <<"\n\n";
    cout << "\tGive a number : ";
    cin >> num;
    
    pointer = &num;
    
    cube = *pointer * *pointer * *pointer;
    
    cout <<"\n\n";
    cout << "\tThe Cube of " << num << " is " << cube <<".\n";
    cout <<"\n\n";
    cout <<"\tEnd of Program";
    cout <<"\n\n";
}


Swap of Two Numbers Using Pointers in C++

Swap of Two Numbers Using Pointers in C++

  A program to ask the user to give two numbers and then the program will swap the two given numbers using pointers 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 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

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


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada



You can buy my C++ book online at  


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


Thank you very much for your support.





Program Listing

#include <iostream>

using namespace std;

int swaping(int *x, int *y)
{
    int temp;

    temp = *x;
    *x   = *y;
    *y   = temp;
}

int main()
{
    int a=0, b=0;

    cout <<"\n\n";
    cout <<"\tSwap of Two Numbers Using Pointers in C++";
    cout <<"\n\n";
    cout <<"\tGive values for a and b : ";
    cin >> a >> b;
    

    cout <<"\n\n\tBefore swapping of numbers : a = " <<a <<
" and b = " << b << "\n";

    swaping(&a,&b);

    cout <<"\n\tAfter swapping of numbers : a = " << a <<
" and b = " << b << "\n";
    cout <<"\n\n";
    cout <<"\tEnd of Program";
    cout <<"\n\n";
}




Wednesday, September 28, 2022

Swap of Two Numbers Using Pointers in C

Swap of Two Numbers Using Pointers in C

 A program to ask the user to give two numbers and then the program will swap the two given numbers using pointers 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 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

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


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada



You can buy my C++ book online at  


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


Thank you very much for your support.





Program Listing

#include <stdio.h>

int swaping(int *x, int *y)
{
    int temp;

    temp = *x;
    *x   = *y;
    *y   = temp;
}

int main()
{
    int a=0, b=0;

    printf("\n\n");
    printf("\tSwap of Two Numbers Using Pointers in C");
    printf("\n\n");
    printf("\tGive values for a and b : ");
    scanf("%d%d", &a, &b);

    printf("\n\n\tBefore swapping of numbers : a = %d and b = %d\n", a, b);

    swaping(&a, &b);

    printf("\n\tAfter swapping of numbers : a = %d and b = %d\n", a, b);
    printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
}




Student Year Level Checker in C++