Sunday, October 20, 2019

Sum of Three Numbers in PHP

A simple program that I wrote using PHP to sum the values of three 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.



Sample Program Output


Program Listing

index.php

<?php

  $a = 2;
  $b = 3;
  $c = 4;

  $sum = ($a+$b+$c);


  echo "<p> The sum of $a, $b and $c is $sum. </p>";

?>






Product of Two Numbers in PHP

Product of Two Numbers in PHP

I simple program that I wrote using PHP to compute the product of two 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 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.


Sample Program Output


Program Listing

index.php

<?php

$a = 5;
$b = 10;

$product = ($a * $b);

echo "<h1> The product of $a and $b is $product.";

?>




Hello World in PHP

Hello World in PHP

In this article I will write a program that will display a message hello world on the web page using PHP 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.



Sample Program Output



Program Listing

index.html

<?php
  
  echo "<h1> Hello World </h1>";

 ?> 




Saturday, October 19, 2019

Loading Screen Animation Using Only HTML and CSS

In this article I would like to share the work of my good friend and fellow software engineer Sir Ernel Fadriguilan he wrote a web application called Loading Screen Animation Using Only HTML and CSS.

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.



Sample Program Output


Program Listing

index.html

<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="loading">
<div class="obj"></div>
<div class="obj"></div>
<div class="obj"></div>
<div class="obj"></div>
<div class="obj"></div>
<div class="obj"></div>
<div class="obj"></div>
<div class="obj"></div>
</div>
</body>
</html>

style.css

body
{
margin: 0;
padding: 0;
background: #2980b9;
}

.loading
{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
height: 40px;
display: flex;
align-itims: center;
}

.obj
{
width: 6px;
height: 40px;
background: white;
margin: 0 3px;
border-radius: 10px;
animation: loading 0.8s infinite;
}

.obj:nth-child(2){
animation-delay: 0.1s;
}

.obj:nth-child(3){
animation-delay: 0.2s;
}

.obj:nth-child(4){
animation-delay: 0.3s;
}

.obj:nth-child(5){
animation-delay: 0.4s;
}

.obj:nth-child(6){
animation-delay: 0.5s;
}

.obj:nth-child(7){
animation-delay: 0.6s;
}

.obj:nth-child(8){
animation-delay: 0.7s;
}


@keyframes loading {
0%
{
height: 0;
}
50%
{
height: 40px;
}
100%
{
height: 0;
}
}



Is Computer Programming a Skills, Gift or Talent

Celsius To Fahrenheit Converter in C++

Celsius To Fahrenheit Converter in C++

In this program I wrote Celsius To Fahrenheit Converter in C++ that will ask the user to give temperature in Celsius and then it will convert into Fahrenheit 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 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.


Sample Program Output



Program Listing

// temperature.cpp
// Author : Jake Rodriguez Pomperada,MAED-IT
// Date   : October 19, 2019  Saturday
// Email  : jakerpomperada@gmail.com

#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
float c=0.00, f=0.00;
cout <<"\n\n";
cout <<"\tCelsius To Fahrenheit Converter in C++";
cout <<"\n\n";
cout << "\tGive Temperature in Celsius :";
cin >> c;
f = (1.8 * c) + 32;
cout <<"\n";
cout << setprecision(2) << fixed 
     <<"\tThe temperature in Fahrenheit is " 
     << f <<".";
    cout <<"\n\n";
cout <<"\tEnd of the Program";      
     
}






Friday, October 18, 2019

Linear Search Using Pointers in C

A simple program linear search using pointers in C was written by my friend sir Ernel Fadriquilan in the Turbo C compiler. Thank you, sir Arnel for sharing this program with us sir.

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.


Program Listing

//One Dimensional Array || Searching
#include<stdio.h>
#include<conio.h>
#include<string.h>

char* arey[10];

void areyin()
{
int i;
printf("Enter 10 numbers:");
for(i=0;i<=9;i++)
{
printf("%d.",i+1);scanf("%s",&arey[i]);
}
}

void locate(char* a)
{
int i;
int found;
for(i=0;i<=9;i++)
{
if(strcmp(a,arey[i])==0)
{
found=1;
break;
}
else
found=0;
}
if(found==1)
printf("%s is inside the room. Seat number %d",a,i+1);
else
printf("Not found!");
}

void main()
{
char* num;
clrscr();
areyin();
printf("Enter number to locate:");scanf("%s",&num);
locate(num);
getch();
}

Password Program in C

A simple password program was written by my friend sir Ernel Fadriquilan in the Turbo C compiler. Thank you, sir Arnel for sharing this program with us sir.

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.


Program Listing


 //PASSWORD
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<dos.h>
char pswd[3],c;
int numchar=1;
void texter(char *s)
{
int i;
for(i=0;i<=strlen(s);i++)
{
printf("%c",s[i]);
delay(500);
}
}

void main()
{
clrscr();
while (numchar<=3)
{
c=getch();printf("*");
pswd[numchar]=c;
numchar++;
}
printf("\n");
texter("ernel");
gotoxy(5,5);texter("finals");
getch();
}

Industrial Programs in C

A simple menu-driven industrial program written by my friends in the C programming language. Thank you very much guys for sharing your programs with us. 

John Robert F. Alejano
Joseph Emmanuel B. Golez
Piolo L. Pigao
Gabriel Sebastian V. Gosiaoco
Krystopher Kyle A. Navarro
Arlo Octavio G. Sta. Ana
Justine Lloyd S. Dalimo-os

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.



Program Listing

#include <stdio.h>

int main(){
char z[200]; 
float radius = 0; 
int cs = 0;
float starter = 0;
float D,L,W = 0 ;
float percircle,rpmt,ans;
int c = 4;
int rpm,back,add;
int pi = 3.14;
float w = 0;
float r = 0;
float v = 0;
float rpms = 0;
float pis = 3.14159265358979323846264338327950288419716939937510;
int i = 2;
float aa = 0;
float bb = 0;
float QQ = 0;
do {
printf("what is your name? : "); 
scanf("%[^\n]",z);/*ma type sang name */
printf("\n\n");
printf("\n\n");
printf("\t\t --------------------welcome! %s--------------------\n\n", z );/*first name lang ma register sa string  */
printf("\n\n");
printf("\t\t-------------------- Industrial Programs--------------------");
printf("\n\n");
printf("\t\t\n Industrial problems");
printf("\n");
printf("\t 1 ::: Perimeter of circle");  
printf("\t\t\t 5 ::: Volume timerate");
printf("\n");
printf("\t 2 ::: Perimeter of square");  
printf("\n");
printf("\t 3 ::: Speed of mechanism");  
printf("\n");
printf("\t 4 ::: RPM of HSS drill");  
printf("\n");
printf("\n\n");
printf("pick a number:");
scanf("%f",&starter); /* give a value for the if staterment to proceed  */
if (starter == 1 ) {
printf("----------------------------------------\n\n\n");
  printf("\tPerimeter or Circumference of Circle");
printf("\n\n");
printf("radius of circle :");
scanf("%f",&radius);
printf("\n\n");
percircle = ( pi * 2 * radius);
printf (" Circumference = 2(3.14)(radius = %f)",radius);
printf("\n\n");
printf("The Circumference of the circle is : %.2f", percircle);
printf("\n\n");
printf("1 ::: quit: ");
printf("0 ::: return :::");
scanf("%d",&back);
printf("okay bye", back ); /*para mag end sang program  */
}else if ( starter == 2 ){
printf("------------------------------------------------------------\n\n\n");
    printf("perimeter of square");
    printf("\n\n");
    printf("Length : ");
    scanf("%f",&L);
    printf("Width : ");
    scanf("%f",&W);
    ans = (L * 2) + (W * 2);
    printf("\n\n");
    printf("Perimeter of square = (Length = %f * 2)+ (Width = %f * 2)",L,W);
    printf("\n\n");
    printf("P = %.2f",ans);
    printf("\n\n");
    printf("1 ::: quit: ");
    printf("0 ::: return :::");
scanf("%d",&back);
printf("bye", back );
    
 
}

else if (starter == 3){
printf("\n\n");
printf("Calculate speed of mechanism\t");
printf("please enter the rpm of your mechanism:\t" );
scanf("%f",&rpms);
printf("\n\n");
printf("please enter the radius:\t");
scanf("%f",&r);
w=i*pis*rpms;
v=w*r;
printf("\n\n");
printf("angular speed is %.2f\t",w);
printf("\n\n");
printf("linear speed of the crank is: %.2f",v);
printf("\n\n");
printf("1 ::: quit: ");
    printf("0 ::: return :::");
scanf("%d",&back);
printf("bye", back );
}

else if (starter == 4){
printf("------------------------------------------------------------\n\n\n");
printf("Calculate the RPM with HSS drills");
printf("\n\n");
printf("cutting speed :");
scanf("%d",&cs);
printf("Diameter :");
scanf("%f", &D); 
printf("\n\n");
rpm = ( cs * c ) /D;
rpmt = ( cs * c ) /D;
    printf("Rpm = (%d x 4) / (%f)",cs,D);
    printf("\n\n");
printf("The Rpm is : %d ",rpm);
printf("\n\n");
printf("True value with 2 decimal places : %.2f",rpmt);
printf("\n\n");
printf("1 ::: quit: ");
printf("0 ::: return :::");
scanf("%d",&back);
printf(" bye", back );
}
else if (starter == 5){
printf("time rate calculator");
printf("\n\n");
printf("container volume: ");
scanf("%f",&aa);
printf("\n\n");
printf("flow rate:");
scanf("%f",&bb);
QQ = aa/bb;
printf("filled a tank with %.2fm^3 volume with a flow rate of %fm^3/min in a total time rate of %.2f min",aa,bb,QQ);
printf("\n\n");
printf("0 ::: return :::");
printf("1 ::: quit: ");
scanf("%d",&back);
printf(" bye", back ); }
}while (back < 1);
return 0;
}

Print a Day Using Switch Statement in C++

Print a Day Using Switch Statement in C++

A simple program that I wrote using C++ as my programing language that will ask the user to give a number and then the program will determine the day of the week based on the given number by the user 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.


Sample Program Output



Program Listing

// days.cpp
// Author : Jake Rodriguez Pomperada,MAED-IT
// Date   : October 18, 2019  Friday  6:03 AM
// Email  : jakerpomperada@gmail.com

#include <iostream>

using namespace std;


int main()
{
int day=0;
cout <<"\n\n";
cout <<"\tPrint a Day Using Switch Statement in C++";
cout <<"\n\n";
cout <<"\tGive a Number : ";
cin >> day;
cout <<"\n\n";
switch(day){
case 1: cout <<"\tThe given day is MONDAY.";
   break;
case 2: cout <<"\tThe given day is TUESDAY.";
   break;   
case 3: cout <<"\tThe given day is WEDNESDAY.";
   break;
case 4: cout <<"\tThe given day is THURSDAY.";
   break;   
case 5: cout <<"\tThe given day is FRIDAY.";
   break;
case 6: cout <<"\tThe given day is SATURDAY.";
   break;
case 7: cout <<"\tThe given day is SUNDAY.";
   break;      
default : cout <<"\tInvalid Day. Try Again.";  
}
cout <<"\n\n";
cout <<"\tEnd of the Program";
}




One Dimensional Array Demo in C++