Uppercase Consonants in C#

 A simple program that will ask the user to give a string and then the program will uppercase the consonants in a given string 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.





Program Listing

Program.cs

using System;


public class Program

{

  public static void Main()

  {

    Console.Write("\n");

    Console.Write("\tUppercase Consonants in C#");

    Console.Write("\n\n");

    Console.Write("\tEnter a string: ");

    string input = Console.ReadLine();


    Console.Write("\n\n");

    Console.Write("\tGiven String : " + input);

    Console.Write("\n\n");

    Console.Write("\tThe Result: ");

    foreach (char ch in input)

    {

      PrintChar(ch);

    }


    Console.Write("\n\n");

    Console.Write("\tEnd of Program");

    Console.Write("\n");

    Console.ReadKey();

  }

     

  public static void PrintChar(char ch)

  {

    ConsoleColor old_color = Console.ForegroundColor;


    if (ch.IsConsonant())

    {


      Console.ForegroundColor = ConsoleColor.Yellow;

      Console.Write(Char.ToUpper(ch));

      Console.ForegroundColor = old_color;

    }

    else

      Console.Write(ch);

  }

}



Characterextensions.cs

using System; public static class CharacterExtensions { public static bool IsConsonant(this char ch) { const string consonants = "BCDFGHJKLMNPQRSTVWXYZ"; return consonants.IndexOf(Char.ToUpper(ch)) != -1; } }


US Dollar To Philippine Peso in Python

 Machine Problem

Write a program that will ask the user to give US Dollar money value and then it will convert 
it into Philippine Peso equivalent.
  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.




Program Listing


# USDollar_PhilippinePeso.py
# Prof. Jake Rodriguez Pomperada, MAED-IT, MIT
# www.jakerpomperada.blogspot.com and www.jakerpomperada.com
# jakerpomperada@gmail.com
#
# Write a program that will ask the user to give US Dollar money
# value and then it will convert it into Philippine Peso equivalent.

print()
print("\tUS Dollar To Philippine Peso in Python")
print()
us_dollar = float(input('Enter US Dollar Value : '))

phil_peso = us_dollar * 50.531


print()
print("$ %0.2f US Dollar\'s is equivalent to PHP %0.2f peso\'s" %(us_dollar,phil_peso))
print()
print("\tEnd of Program")
print()

Addition and Difference of Two Numbers in C#

 A simple program that will ask the user to give two numbers and then the program will compute the sum and difference of two numbers 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.





Program Listing

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int a=0,b=0;
            Console.WriteLine();
            Console.WriteLine("\tAddition and Difference of Two Numbers in C#");
            Console.WriteLine();
            Console.Write("\tEnter First Value  : ");
            a = Convert.ToInt32(Console.ReadLine());
            Console.Write("\tEnter Second Value : ");
            b = Convert.ToInt32(Console.ReadLine());
            int Addition=0, Difference=0;

            Addition = (a+b);
            Difference = (a-b);

            Console.WriteLine();
            Console.WriteLine("\tThe sum of " + a.ToString() + " and "
                + b.ToString() + " is " + Addition.ToString() + ".");
            Console.WriteLine();
            Console.WriteLine("\tThe difference  " + a.ToString() + " and "
                       + b.ToString() + " is " + Difference.ToString() + ".");
            Console.WriteLine("\n");
            Console.WriteLine("\tEnd of Program");
            Console.ReadLine();  
        }
    }
}


Leap Year in Visual Basic 6

 A simple program that will ask the user to give a year and then the program will check if the year given is leap year or not using Visual Basic 6.

  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.






Program Listing

Private Sub Command1_Click()

y = Val(Text1.Text)


If y Mod 4 = 0 Then


MsgBox ("The given year " & y & " is a Leap year.")


Else


MsgBox ("The given year " & y & " is NOT a Leap year.")


 End If


End Sub


Private Sub Command2_Click()

Text1.Text = ""

Text1.SetFocus

End Sub


Private Sub Command3_Click()

End

End Sub


Multiply Two Numbers Using ng-app in AngularJS

 Machine Problem

Write a program that uses ng-app directive that will multiply the  values of two numbers and display the results on the screen using AngularJS.

  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.





Program Listing

<!-- index.htm

  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

  Date     : July 25, 2021  Sunday  10:07 PM

  Place    : Bacolod City, Negros Occidental

  Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com

  Email    : jakerpomperada@gmail.com

 -->

<html>

<head> 

<title>Multiply Two Numbers Using ng-app in AngularJS</title>

</head>

<style>

body {

   font-family: "arial";

   font-style: bold;

   font-size: 18px;

  }

 </style>

<script type="text/javascript" src="angular.min.js"></script>

<body><br>

<h3>Multiply Two Numbers Using ng-app in AngularJS</h3>

<body>

<div ng-app="myApp" ng-controller="Multiply_Controller">

The product of {{A}} and {{B}} is {{A*B}}.

</div>

<script>

var app = angular.module("myApp", []);

app.controller("Multiply_Controller", function($scope) {

    $scope.A = 5;

    $scope.B = 6;

});

</script>

</body>

</html>

</body>

</html>

Power a Number in Java

 Machine Problem

Write a Java program that will ask the user to give base and exponent number and then the program will compute the power of the 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 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.




Program Listing

package test;



import java.util.Scanner;


/*

 * Power_A_Number.java

 * 

 * Jake Rodriguez Pomperada, MAED-IT, MIT

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

 * jakerpomperada@gmail.com

 * Bacolod City, Negros Occidental Philippines

 * 

 * Machine Problem

 * 

 * Write a Java program that will ask the user to give base and exponent number

 * and then the program will compute the power of the number.

 * 

 */


public class Power_A_Number {


public static void main(String args[]){


   Scanner input = new Scanner(System.in);

      

      

      System.out.println();

      System.out.println("\tPower a Number in Java");

      System.out.println();

      System.out.print("\tGive base number : ");

      int base = input.nextInt();

      int temp = base;

      System.out.print("\tGive exponent number : ");

      int exp = input.nextInt();


      for (int i=1; i<exp; i++){

         temp = temp*temp;

      }

      System.out.println();

      System.out.println("\tThe Result is "+base+" power "+exp+" is "+temp);

      System.out.println();

      System.out.print("\tEnd of Program \n");  

      System.out.println();

      input.close();

   }

}

Print 1 To 30 Using For Loop in C

 A simple program that I wrote using C programming language that will print 1 to 30 using for loop statement.

  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.





Program Listing

#include <stdio.h>



int main()

{

    int counter=0;

    int a=0;

    printf("\n\n");

    printf("\t  Print 1 To 30 Using For Loop in C");

    printf("\n\n\n");

    printf("\t");

for (a=1; a<=30; a+=1) {


          counter++;


         printf("%4d",a);


        


         if(counter == 10){


             


         printf("\n\t");


          counter = 0;


      }

       

     }

  printf("\n\n");

    printf("\t\t\tEnd of Program");

    printf("\n");

}


Simple Password in Java

 A simple password program that I wrote in 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.






Program Listing

package test; /* * Prof. Jake Rodriguez Pomperada, MAED-IT, MIT * www.jakerpomperada.com and www.jakerpomperada.blogspot.com * jakerpomperada@gmail.com * Bacolod City, Negros Occidental Philippines */ import java.util.Scanner; public class Password { public static void main(String[] args) { // TODO Auto-generated method stub Scanner input = new Scanner(System.in); System.out.println(); System.out.println("\tSimple Password in Java"); System.out.println(); System. out. print("\tEnter your password : "); String password1 = input.nextLine(); System.out.println("\n"); if(password1.equals("SECRET")) { System. out. println("\tPassword is Granted"); }//end if else { System. out. println("\tPassword is denied"); } //end else System.out.println("\n"); System.out.print("\tEnd of Program \n"); System.out.println(); input.close(); } }


Addition and Product of Two Numbers in Python

 A simple program to ask the user to give two numbers and then it will compute the sum, and product of two numbers using 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.






Program Listing

print()
print("\tAddition and Product of Two Numbers in Python")
print()
num1 = int(input('Enter first number: '))
num2 = int(input('Enter second number: '))

sum = (num1 + num2)
product = (num1 * num2)

print()
print('The sum of {0} and {1} is {2}.'.format(num1, num2, sum))
print()
print('The product of {0} and {1} is {2}.'.format(num1, num2, product))

Addition and Product of Two Numbers in Java

 A simple program that I wrote to ask the user to give two numbers, and then our program will compute the sum, and product of two numbers  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.





Program Listing

package test; /* * Prof. Jake Rodriguez Pomperada, MAED-IT, MIT * www.jakerpomperada.com and www.jakerpomperada.blogspot.com * jakerpomperada@gmail.com * Bacolod City, Negros Occidental Philippines */ import java.util.Scanner; public class Addition_Product { public static void main(String[] args) { // TODO Auto-generated method stub int first=0, second=0; Scanner input = new Scanner(System.in); System.out.println(); System.out.println("\tAddition and Product of Two Numbers in Java"); System.out.println(); System.out.print("\tEnter First Number : "); first = input.nextInt(); System.out.print("\tEnter Second Number : "); second = input.nextInt(); int add = first + second; int product = first * second; System.out.println(); System.out.println("\tThe Sum of " + first + ", and " + second + " is " + add + "."); System.out.println(); System.out.println("\tThe Product of " + first + ", and " + second + " is " + product+ "."); System.out.println("\n"); System.out.print("\tEnd of Program \n"); System.out.println(); input.close(); } }

Addition and Subtraction of Two Numbers in Java

 A simple program to ask the user to give two numbers and then the program will ask the sum of two numbers and subtract the difference of two numbers 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.





Program Listing

package test;


/*

 * Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

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

 * jakerpomperada@gmail.com

 * Bacolod City, Negros Occidental Philippines

 */


import java.util.Scanner;


public class Addition_Subtraction {


public static void main(String[] args) {

// TODO Auto-generated method stub

  int first=0, second=0;

Scanner input = new Scanner(System.in);

  

System.out.println();

    System.out.println("\tAddition and Subtraction of Two Numbers in Java");

    System.out.println();

    

    System.out.print("\tEnter First Numbers : ");

    first = input.nextInt();

    

    System.out.print("\tEnter Two Numbers : ");

    second = input.nextInt();


    int  add = first + second;

    int  subtract = first - second;

    

    if (first > second) {

   

    subtract = first - second;

    } else if (second > first) {

   

    subtract = second - first;

    } else if (first == second) {

    subtract = first - second;

     }

    System.out.println();

    System.out.println("\tThe Sum of " + first + " and " + second + " is " + add + ".");

    System.out.println();

    System.out.println("\tThe Difference Between " + first + " and " + second + " is " + subtract + ".");

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

    System.out.print("\tEnd of Program \n");  

    System.out.println();

    input.close();


}


}