Friday, April 8, 2022

Simple Password in C++

Simple Password in C++

 A simple password in C++ programming that I wrote I hope you will find useful.

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.

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





Program Listing

#include <iostream>
#include <cstring>

using namespace std;

int main()
{
char password[]="123admin";
char pass[10];
cout <<"\n\n";
cout <<"\tSimple Password in C++";
cout <<"\n\n";
do
{
    cout <<"\n";
cout<<"\tGive your password : ";
cin.getline(pass,10);
if(strcmp(password,pass)!=0) {
cout <<"\n";
cout<<"\tInvalid Password. Try Again\n";
} else {
cout <<"\n";
cout<<"\tPassword Accepted. Welcome To The System.\n";
}
}while(strcmp(password,pass)!=0);
}

Thursday, April 7, 2022

Sum of Two Numbers in C# Using Console

Sum of Two Numbers in C# Using Console

 Machine Problem

Write a program that will ask the user to input two numbers and then the program will find the total sum of two numbers given by our user.

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.

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





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, b, sum;

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

            Console.Write("\tSum of Two Numbers in C# Using Console");

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

            Console.Write("\tEnter the first number : ");

            a = Convert.ToInt32(Console.ReadLine());

            Console.Write("\tEnter second number : ");

            b = Convert.ToInt32(Console.ReadLine());

            sum = a + b;

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

            Console.WriteLine("\tThe sum of {0} and {1} is {2}.", a, b, sum);

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

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

            Console.ReadLine();

        }

    }

}


Bank Simulation in Java

Bank Simulation in Java

 Machine Problem


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.

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





DOWNLOAD THE SOURCE CODE HERE


How To Run Java Programs in Visual Studio Code

Area of the Triangle Solver in Java

Area of the Triangle Solver in Java

 A program to solve the area of the triangle 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 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.

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





Program Listing

// area_of_the_triangle.java
// Written By: Mr. Jake R. Pomperada, BSCS, MAED-IT
// July 9, 2015   Thursday
// Email Address:  jakerpomperada@gmail.com
//                 jakerpomperada@yahoo.com

import java.util.Scanner;
 
public class area_of_the_triangle {
 
   public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
       
      char ch;
      double base_triangle = 0;
      double height_triangle = 0;
      double solve_area = 0;
 do {
      System.out.println();
      System.out.print("\tAREA OF THE TRIANGLE SOLVER ");
      System.out.println("\n\n");
      System.out.print("What is the length of base of the triangle : ");
      base_triangle = input.nextDouble();
 
      System.out.print("What is the length of height of triangle : ");
      height_triangle = input.nextDouble();
 
      solve_area = (base_triangle * height_triangle) / 2;
     
      System.out.println();
      System.out.println("The Area of Triangle is : " + solve_area + ".");
      System.out.println();
      System.out.print("\nDo you want to continue (Type y or n) : ");
      ch = input.next().charAt(0);                        
     } while (ch == 'Y'|| ch == 'y');  
      System.out.println();
      System.out.print("\t THANK YOU FOR USING THIS PROGRAM");
      System.out.println("\n\n");
      input.close();
   }
 
}

Wednesday, April 6, 2022

Input Name in Scala

Input Name in Scala

 Machine Problem

Write a program that will ask the user to give first name, and last name and then the program will greet the user by displaying the first name, and last name of the user 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.

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






Program Listing

/* Input_Name.scala
   Prof. Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.blogspot.com and www.jakerpomperada.com
   jakerpomperada@gmail.com
   November 11, 2021  8:21 PM Thursday
   Bacolod City, Negros Occidental
 */


import java.util.Scanner;

object Input_Name {

  def main(args: Array[String]) : Unit = {

    var input = new Scanner(System.in);

    print("\n\n");
    print("\tInput Name in Scala");
    print("\n\n");
    print("\tGive Your First Name : ");
    var first_name = input.nextLine();
    print("\tGive Your Last Name  : ");
    var last_name = input.nextLine();
   
    print("\n");
    print("\tHello " + first_name + " "  +  last_name + ". How are you? \n");
     print("\n");
    print("\tEND OF PROGRAM");
    print("\n\n");
  }
}

Sum,Product, Difference, and Quotient in C#

Sum,Product, Difference, and Quotient in C#

 Machine Problem


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.

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




Program Listing


using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;


namespace ConsoleApplication1

{

    class Program

    {

        static void Main(string[] args)

        {


            int num1, num2, sum,product,difference, quotient;


            Console.WriteLine("\n");

            Console.Write("\tSum,Product, Difference, and Quotient in C#");

            Console.WriteLine("\n");

            Console.Write("\tEnter First Value  : ");

            num1 = Convert.ToInt32(Console.ReadLine());

            Console.Write("\tEnter Second Value : ");

            num2 = Convert.ToInt32(Console.ReadLine());

            

            sum = num1 + num2;

            product = num1 * num2;

            difference = num1 - num2;

            quotient = num1 / num2;


            Console.WriteLine("\n");

            Console.Write("\t{0} + {1} = {2}\n", num1, num2, sum);

            Console.Write("\t{0} * {1} = {2}\n", num1, num2, product);

            Console.Write("\t{0} - {1} = {2}\n", num1, num2,difference);

            Console.Write("\t{0} / {1} = {2}\n", num1, num2, quotient);

            Console.WriteLine("\n");

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

            Console.ReadKey();

        }

    }

}



Tuesday, April 5, 2022

Print Calendar in Python

Print Calendar in Python

 A program that will display the calendar 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 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.

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





Program Listing


import calendar


# Calenday.py
# Jake Rodriguez Pomperada, MAED-IT, MIT
# www.jakerpomperada.blogspot.com and www.jakerpomperada.com
# jakerpomperada@gmail.com
# Bacolod City, Negros Occidental Philippines

print()
print("\tPrint Calendar in Python");
print()
year = int(input("\tEnter the year Number: "))
month = int(input("\tEnter the month Number: "))
print("\n")
print(calendar.month(year, month))
print("\tEnd of Program");

Monday, April 4, 2022

Remove Vowels in C#

Remove Vowels in C#

 A simple program that I wrote using C# to ask the user to give a string and then the program will remove the vowels in the given string by the user.

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.

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






Program Listing

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;


namespace ConsoleApplication1

{

    class Program

    {



        static string remove_vowels(string value)

        {

            var stripped = from c in value.ToCharArray()

                           where !"aeiouAEIOU".Contains(c)

                           select c;


            return new string(stripped.ToArray());

        }


       

        static void Main(string[] args)

          {


              Console.WriteLine();

              Console.WriteLine("\tRemove Vowels in C#");

              Console.WriteLine();

              Console.Write("\tGive a String : ");

              string  given_str = Console.ReadLine();

              Console.WriteLine();

              Console.WriteLine("\tGiven String  : " + given_str + "\n");

              Console.WriteLine("\tRemove Vowels : " + remove_vowels(given_str));

              Console.WriteLine();

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

              Console.WriteLine();

              Console.ReadKey();

        }

    }

}


Payroll Program Using Scala

Payroll Program Using Scala

 Machine Problem

Write a program to ask the user to give the employee's name, number of days' work, and rate per day. The program will compute the salary of the employee by displaying the employee's name, and their salary 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.

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






Program Listing

/* Pay_Program.scala

   Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   November 09, 2021  10:02 PM Tuesday

   Bacolod City, Negros Occidental

 */



import java.util.Scanner;


object Payroll_Program {


  def main(args: Array[String]) : Unit = {


    var input = new Scanner(System.in);


    print("\n\n");

    print("\tPayroll Program Using Scala");

    print("\n\n");

    print("\tEnter Employee's Name : ");

    var emp_name = input.nextLine();


    print("\tEnter Days Worked     : ");

    var days = input.nextDouble();


    print("\tEnter Rate Per Day    : ");

    var rate = input.nextDouble();


    var salary = (days * rate);


    print("\n");

    print("\tEmployee's Name       :  " + emp_name + "\n");

    print("\n");

    print("\tThe Gross Salary      : PHP  " + f"$salary%5.2f" )

    print("\n\n");

    print("\tEND OF PROGRAM");

    print("\n\n");

  }

}