Tuesday, November 10, 2020

Word Count in a Sentence in C

 In this tutorial, I will show you how to write a program that will ask the user to give a sentence, and the program will count the number of words in the given sentence and display the results on the screen using a 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

#include <stdio.h>

#include <stdlib.h>

#include <string.h>


int main()

{

char buffer[80] = {0};

int count = 0;


printf("\n\n");

printf("\tWord Count in a Sentence in C");

    printf("\n\n");

printf("\tEnter a sentence please: ");

fgets(buffer, sizeof(buffer), stdin);

char *nl = strchr(buffer, '\n');

if (nl != NULL)

nl = '\0'; // remove trailing '\n'

if (buffer[0] == '\n') // user hit only return

{

printf("Number of words: %d", count);

return 1;

}

// assume that the words are separated by space

char *token = strtok(buffer, " ");


while (token != NULL)

{

++count;

token = strtok(NULL, " ");

}

    printf("\n\n");

printf("\tNumber of words: %d.", count);

printf("\n\n");

printf("\tEnd of Program");

printf("\n\n");

}


Monday, November 9, 2020

Highest Number From Given Five Numbers in C++

Highest Number From Given Five Numbers in C++

 I wrote this program to ask the user to give five numbers and then the program will determine which of the five given number is the highest in terms of numerical value 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 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


#include <iostream>

#include <limits>


int main(int argc, char **argv)

{

    int highest = std::numeric_limits<int>::min(), input;


    std::cout <<"\n\n";

    std::cout <<"\tHighest Number From Given Five Numbers in C++";

    std::cout <<"\n\n";

    for (auto i = 0; i < 5; ++i)

    {

        std::cout << "\tEnter Item No. " << i+1 << " : ";

        std::cin >> input;

        if (input > highest)

            highest = input;

    }

    std::cout <<"\n\n";

    std::cout << "\tThe highest number is: " << highest << "\n";

    std::cout <<"\n";

    std::cout <<"\tEnd of Program";

    std::cout <<"\n";

}


Age Checker Using If Else in Java

Age Checker Using If Else in Java

  A program that I wrote using Java programming language that will ask the user to give the age and then then the program will check if the given age the user is already an adult or still a minor using if else statement in Java.

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


 Age_Checker,java


import java.util.Scanner;

/**

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

 * jakerpomperada@gmail.com

 * www.jakerpomperada.com

 * Bacolod City, Negros Occidental

 * November 9, 2020

 */


public class Age_Checker {


public static void main(String[] args) {

// TODO Auto-generated method stub

     int age=0;

                  

       Scanner keyboard = new Scanner(System.in);

               

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

      System.out.print("\t\tAge Checker Using If Else in Java");

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

             

      System.out.print("\tWhat is your age? :  ");

      age = keyboard.nextInt();

     

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

      

      if (age >= 18) {

      System.out.print("\tAt the age of " + age + " years old ");

      System.out.print("you are already an Adult.");

      } else {

      System.out.print("\tAt the age of " + age + " years old ");

      System.out.print("you are still a Minor.");

      }

      

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

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

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

     keyboard.close();

}


}



Legal Age Checker Using Ternary Operator in Java

Legal Age Checker Using Ternary Operator in Java

  A program that I wrote using Java programming language that will ask the user to give the age and then then the program will check if the given age the user is already an adult or still a minor using ternary operator in Java.

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

Legal_Age_Checker.java

import java.util.Scanner;

/**
 * @author Jake Rodriguez Pomperada, MAED-IT, MIT
 * jakerpomperada@gmail.com
 * www.jakerpomperada.com
 * Bacolod City, Negros Occidental
 * November 9, 2020
 */

public class Legal_Age_Checker {

public static void main(String[] args) {
// TODO Auto-generated method stub
     int age=0;
                  
       Scanner keyboard = new Scanner(System.in);
               
      System.out.println("\n");
      System.out.print("\t\tLegal Age Checker Using Ternary Operator in Java");
        System.out.println("\n");
             
      System.out.print("\tWhat is your age? :  ");
      age = keyboard.nextInt();
               
      String result = (age >= 18) ?  "already an Adult." : "still a Minor.";

      System.out.print("\n");
      System.out.println("\tAt the age of " + age + " years old " 
                + "you are " + result);
      System.out.print("\n");
  System.out.println("\tEnd of Program");
  System.out.println("\n\n");
      keyboard.close();

}

}


Mass Transfer from a Flat Plate

Five Tips Para Ma Overcome ang Failure Sa Buhay

Sunday, November 8, 2020

Legal Age Checker Using Ternary Operator in C

Legal Age Checker Using Ternary Operator in C

 A program that I wrote using C programming language that will ask the user to give the age and then then the program will check if the given age the user is already an adult or still a minor using ternary operator in C.

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

/* legal_age.c

   Jake Rodriguez Pomperada,MAED-IT, MIT

   November 8, 2020   Sunday    6:34 PM

   www.jakerpomperada.com

   jakerpomperada@gmail.com

*/   

   

  

#include <stdio.h>


int main(void)

{

int age=0;

printf("\n\n");

printf("\tLegal Age Checker Using Ternary Operator in C");

printf("\n\n");

printf("\tWhat is your age? : ");

scanf("%d",&age);

printf("\n\n");

    puts(age >= 18 ? "\tYou are already an Adult." : 

                 "\tYou are still a Minor.");         

    printf("\n\n");

    printf("\tEnd of Program");

    printf("\n\n");

}


Yard To Feet in C++

Feet To Yard in C++

 I wrote this simple program to ask the user a value in feet and then it will convert it into yard equivalent using C++ as my 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

// feet_yard.cpp

// Jake Rodriguez Pomperada,MAED-IT, MIT

// www.jakerpomperada.com / www.jakerpomperada.blogspot.com

// jakerpomperada@gmail.com

// Bacolod City, Negros Occidental Philippines


#include <iostream>

#include <iomanip>


const int FeetPerYard = 3;


int main()

{

    int feet=0; 

    double yards=0.00;

    

    std::cout <<"\n\n";

    std::cout <<"\tFeet To Yard in C++";

    std::cout <<"\n\n";

    std::cout << "\tNumber of feet : ";

    std::cin >> feet;

    

    yards = static_cast<double>(feet) / FeetPerYard;

    std::cout << std::fixed << std::showpoint;

    std::cout << std::setprecision(2);

    

std::cout <<"\n\n";

    std::cout << "\tYards Equivalent : " << yards << '\n';    

    std::cout <<"\n\n";

    std::cout <<"\tEnd of Program";

    std::cout <<"\n\n";

}


Ano po ba ang Computer Programming?

Saturday, November 7, 2020

Area and Perimeter of Rectangle in C++

Area And Perimeter of a Rectangle in C++

 I wrote this program that will ask the user to give of length and width of the rectangle and then the program will compute the area and perimeter of the rectangle 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 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

// rectangle.cpp
// Author   : Jake Rodriguez Pomperada,MAED-IT, MIT
// Date     : November 7, 2020
// Website  : www.jakerpomperada.com  / www.jakerpomperada.blogspot.com
// Email    : jakerpomperada@gmail.com
// Location : Bacolod City, Negros Occidental Philippines.

#include <iostream>


int main()
{
    double length=0.00, width=0.00;

    std::cout << "\n\n";
    std::cout << "\tArea And Perimeter of a Rectangle in C++";
    std::cout << "\n\n";
    std::cout << "\tEnter length: ";
    std::cin >> length;
    std::cout << "\tEnter width: ";
    std::cin >> width;
    std::cout << "\n\n";
    std::cout << "\tThe area is: " << length * width << '\n';
    std::cout << "\tThe perimeter is: " << 2 * (length + width) << '\n';
    std::cout << "\n\n";
    std::cout << "\tEnd of Program";
    std::cout << "\n\n";
}



Unboxing Kitchen Kit Toy

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");

}