Wednesday, November 23, 2022

Insert Asterisk at the Middle of the String in C++

 Machine Problem

Write a program that inserts the characters “*****” in the exact middle of a string.

 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/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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<string> using namespace std; int main(){ string str_given; int a=0; cout <<"\n\n"; cout <<"\tInsert Asterisk at the Middle of the String in C++\n\n"; cout<<"\tGive a String : "; getline(cin, str_given); a = str_given.length() / 2; str_given.insert(a, "*****"); cout << "\n\n"; cout << "\t"<<str_given; cout << "\n\n"; cout <<"\tEnd of Program"; cout << "\n\n"; }

Tuesday, November 22, 2022

Odd Numbers Between 1 To 20 in PHP

Odd Numbers Between 1 To 20 in PHP

A simple program to display the odd numbers between 1 to 20 using PHP 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/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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


<?php
echo "<h3>Odd Numbers Between 1 To 20 in PHP</h3>";
for ($x=1; $x<=20; $x++)
{
    if( $x%2!=0)
    {
    echo $x.", ";
    }

}

Display Text in PHP

Display Text in PHP

 A simple to display text using PHP 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/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

<?php $title = "PHP Programming for the Web"; echo "<hr>"; print("<center>$title </center>"); echo "<hr>"; ?>

Sum, Difference, and Product in PHP

Sum, Difference, and Product in PHP

 A program to compute the sum, difference, and product of two numbers in PHP 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/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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


<?php


$a=5;

$b=3;


$sum = ($a+$b);


$difference = ($a-$b);


$product = ($a*$b);


echo "<h3>Sum, Difference and Product in PHP </h3>";

echo "The sum between $a and $b is $sum. <br>";

echo "The difference between $a and $b is $difference. <br>";

echo "The product between $a and $b is $product. <br>";

?>



Philippine Peso To US Dollar in C++

Monday, November 21, 2022

Philippine Peso To US Dollar in C++

A simple program to ask the user to give Philippine Peso value and convert it into to US Dollars equivalent 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/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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>


using namespace std;


#define US_DOLLAR  0.017441


int main() {

double ph_peso=0.00;

double solve=0.00;

cout <<"\n\n";

cout <<"\tPhilippine Peso To US Dollar in C++\n\n";

cout << "\tGive Philippine Peso : ";

cin >> ph_peso;

solve = (ph_peso * US_DOLLAR);

cout <<"\n\n";

cout << setprecision(2) << fixed 

<<"\tThe US Dollar Value : $ "<< solve;

cout <<"\n\n";

cout <<"\tEnd of Program";

cout <<"\n\n";

}


Grams To Kilograms in TypeScript

Grams To Kilograms in TypeScript

 Machine Problem

Write a program that will convert the given grams 30 into kilograms equivalent and display the results on the screen using TypeScript 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/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

/* grams_kilograms.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 19, 2022 8:17 AM Tuesday
   Bacolod City, Negros Occidental
*/

var grams = 30;

// Converting to kilograms

let kilograms = (grams/1000);

let two_decimal = kilograms.toFixed(2);

console.log();
console.log("Grams To Kilograms in TypeScript\n");
console.log(grams + " grams(s) the kilogram(s) equvalent is " + two_decimal + " kilogram(s).\n");
console.log("End of Program\n");

Sunday, November 20, 2022

Subtract Two Numbers in PHP

Subtract Two Numbers in PHP

 A simple program to subtract two given numbers in PHP 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/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

<?php  

$x=8;  

$y=2;  


$subtract=$x-$y;  


echo "The Difference: ",$subtract;  

?>  

How To Use Event Viewer in Microsoft Windows?

Friday, November 18, 2022

Difference of Two Numbers Using ng-init in AngularJS

Difference of Two Numbers Using ng-init in AngularJS

 Machine Problem

Write a program that uses ng-init directive that will compute  the difference in the two given numbers, and display the result 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 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/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

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

  Date     : July 28, 2021  Wednesday 2:53 PM

  Place    : Bacolod City, Negros Occidental

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

  Email    : jakerpomperada@gmail.com

 -->

<html>

<head>

  <title>Difference of Two Numbers 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="val_1=25;val_2=10;">

  <form>

  <table border="0" cellspacing=10>

  <tr>Difference of Two Numbers Using ng-init in AngularJS</tr>

  </tr>

  </table>

  </form>

    <p> The difference between {{val_1}}, and

      {{val_2}} is {{val_1 - val_2}}.</p>

  </div>

</body>

</html>