Thursday, April 28, 2022

Greet Person Using ng-init in AngularJS

 Machine Problem

Write a program that uses ng-init directive that will display and greet the person 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 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


Thank you very much for your support





Program Listing

index.htm

<!-- index.htm
  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT
  Date     : July 28, 2021  Wednesday 2:08 PM
  Place    : Bacolod City, Negros Occidental
  Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com
  Email    : jakerpomperada@gmail.com
 -->
<html>
<head>
  <title>Greet Person Using ng-init in AngularJS</title>
</head>
<style>
body {
  font-family: arial;
  font-size: 25px;
  font-weight: bold;
}
</style>
<script type="text/javascript" src="angular.min.js">
</script><br>
<div ng-app ng-init="Person='Jacob Samuel Pomperada'">
  <form>
  <table border="0" cellspacing=10>
  <tr>Greet Person Using ng-init in AngularJS</tr>
  <tr>
  <td>Hello {{Person | uppercase }}.</td>
  </tr>
</table>
  </form>
  </div>
</body>
</html>

Wednesday, April 27, 2022

Pounds To Kilograms in C

Pounds To Kilograms in C

  A program that will ask the user value in pounds and then it will convert into kilograms in C programming languages.

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


Thank you very much for your support





Program Listing

#include  <stdio.h>

int main()
{
    float kilogram=0.00,pound=0.00;
    
    printf("\n\n");
    printf("\tPounds To Kilograms in C");
    printf("\n\n");
    printf("\tEnter Pound Value :  ");
    scanf("%f",&pound);
    kilogram=pound*.454;
    printf("\n\n");
    printf("\t%5.2f Pound(s) = %5.2f Kilogram(s).",pound,kilogram);
    printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
    
}


Pounds To Kilograms in C++

Pounds To Kilograms in C++

 A program that will ask the user value in pounds and then it will convert into kilograms in C++ programming languages.

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


Thank you very much for your support





Program Listing

#include  <iostream>
#include  <iomanip>


int main()
{
    float kilogram=0.00,pound=0.00;
    
    std::cout <<"\n\n";
    std::cout <<"\tPounds To Kilograms in C++";
    std::cout <<"\n\n";
std::cout<<"\tEnter Pound Value :  ";
    std::cin>>pound;
    kilogram=pound*.454;
    std::cout <<"\n\n";
    std::cout<<"\t" <<std::fixed << std::setprecision(2) 
<< pound<<" pound(s) = "<<kilogram<<" kg(s)";
    std::cout <<"\n\n";
    std::cout <<"\tEnd of Program";
    std::cout <<"\n\n";
}

Tuesday, April 26, 2022

Print Alphabet in C#

Print Alphabet in C#

 A program that I wrote to display the alphabet from A to Z in upper case format 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.


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


Thank you very much for your support





Program Listing

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

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("\n");
            Console.Write("\tPrint Alphabet in C#");
            Console.WriteLine("\n");
            Console.Write("\t");
            for (char alphabet = 'A'; alphabet <= 'Z'; alphabet++)
            {
               
                Console.Write(alphabet + " ");
            }
            Console.WriteLine("\n");
            Console.Write("\tEnd of Program");
            Console.WriteLine();
            Console.ReadKey();
            
        }
    }
}


Monday, April 25, 2022

Simple Login in Python

Simple Login in Python

A simple login system is written 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 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


Thank you very much for your support






Program Listing

# login.py
# Mr. Jake Rodriguez Pomperada, MAED-IT, MIT
# www.jakerpomperada.com and www.jakerpomperada.blogspot.com
# jakerpomperada@gmail.com
# April 25, 2022 Monday 5:55 AM
# Bacolod City, Negros Occidental

MaxLoginAttempts = 2
LoginAttempts = 0
LoggedIn = False
CorrectPasword = "1234"

print()
print("\tSimple Login in Python");
print()

while not LoggedIn and LoginAttempts <= MaxLoginAttempts:
passWord = input("Enter password: ")
LoginAttempts += 1
if passWord == CorrectPasword:
LoggedIn = True
break

print()
if LoggedIn:
print("Login successful!")
else:
print("Login failed!")

print();
print("\tEND OF PROGRAM");
print();




Sunday, April 24, 2022

Maximum Value of a Number in C

Maximum Value of a Number in C

 A program that I wrote in C programming language that will find the maximum value of a number.

 A simple program to compute the gasoline purchase 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.


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


Thank you very much for your support





Program Listing


#include <stdio.h>


int main()

{

 int items[100],a=0,max=0,values=0;

 printf("\n\n");

 printf("\tMaximum Value of a Number in C");

 printf("\n\n");

 printf("\tHow Many Items : ");

 scanf("%d",&values);

 for(a=0;a<values;a++) {

  printf("\tEnter Value in Item No. %d : ",a+1);

  scanf("%d",&items[a]);

}

 max=items[0];

 for(a=1;a<values;a++)

 {

  if(max<items[a])

   max=items[a];

 }

 printf("\n\n");

 printf("\tMaximum value of a number is %d.",max);

 printf("\n\n");

 return 0;

}

Wednesday, April 20, 2022

Half Pyramid Pattern in C++

Half Pyramid Pattern in C++

 A simple program to generate a half pyramid pattern using asterisk symbol in C++ programming language.

 A simple program to compute the gasoline purchase 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.


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


Thank you very much for your support





Program Listing

#include <iostream>

using namespace std;

int main()
{
  int i=0,j=0,rows=10;

  cout <<"\n\n";
  cout <<"\tHalf Pyramid Pattern in C++";
  cout <<"\n\n";
  for(i=1;i<=rows;++i)
    {
      cout <<"\t";
  for(j=1;j<=i;++j)
        {
          cout<<"* ";
        }
      cout<<"\n";
    }
  cout <<"\n\n";
  cout <<"\tEnd of Program";
  cout <<"\n\n";
}

Gasoline Purchase Solver in C++

Gasoline Purchase Solver in C++

 A simple program to compute the gasoline purchase 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.


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


Thank you very much for your support






Simple Interest Using Scala

Simple Interest Using Scala

 Machine Problem

Write a  simple interest program that will ask the principal amount, rate of the loan, and a number of years.  The program will compute the interest rate of the loan of the customer 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.


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


Thank you very much for your support




Program Listing

/* Simple_Interest.scala

   Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   November 12, 2021  2:22 PM Friday

   Bacolod City, Negros Occidental

 */



import java.util.Scanner;


object Simple_Interest {


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


    var input = new Scanner(System.in);


    print("\n\n");

    print("\tSimple Interest Using Scala");

    print("\n\n");

    print("\tEnter the Principal Amount  : ");

    var principal = input.nextDouble();


    print("\tEnter Rate                  : ");

    var rate = input.nextDouble();


    print("\tEnter Time (No. of Years)  : ");

    var time = input.nextDouble();


    var interest = (principal * time * rate) / 100;


    print("\n");

    print("\tThe Principal Amount     : PHP  " + f"$principal%5.2f" );

    print("\n");

    print("\tThe Interest Rate        :      " + f"$rate%5.0f" + "%");

    print("\n");

    print("\tThe Time Duration        :      " + f"$time%5.0f");

    print("\n");

    print("\tThe Simple Interest      : PHP  " + f"$interest%5.2f" );

    print("\n\n");

    print("\tEND OF PROGRAM");

    print("\n\n");

  }

}


Triangle Pattern in C++

Triangle Pattern in C++

 A simple program that I wrote using C++ to display triangle pattern,

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


Thank you very much for your support





Program Listing

#include <iostream>


using namespace std;


 int rows=10, i=0, j=0, space=0;


int main() {

cout <<"\n\n";

cout << "\tTriangle Pattern in C++";

cout <<"\n\n\n";

   


     for(i = 1; i <= rows; i++)

   {

      cout <<"\t";

      for(space = i; space < rows; space++)

      {

         cout << " ";

      }

      for(j = 1; j <= (2 * i - 1); j++)

      {

         cout << "*";

      }


      cout << "\n";

   }

}

Running Sum of Numbers Using Pointers in C++