Monday, June 22, 2020

Interest Rate Solver in PHP

Interest Rate Solver in PHP

I wrote this interest rate solver using PHP programming language.

 I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/




Sample Program Output

Program Listing

index.php


<!doctype html>
<html>
<head>
<title>Interest Rate Solver in PHP</title>
</head>
<style type="text/css"> 
  body {
font-family : arial;
};
</style>
<body>
<form method="POST" action="">
<h2>Interest Rate Solver in PHP</h2>
<?php
$amount=$interest_rate=$period=NULL;
$total_interest=$total_payable=$monthly_payable=0;
if(isset($_POST['compute'])){
$amount=$_POST['amount'];
$interest_rate=$_POST['interest_rate'];
$period=$_POST['period'];
$total_interest=$amount*($interest_rate/100)*$period;
$total_payable=$total_interest+$amount;
$monthly_payable=$total_payable/$period;
}
?>
<p>Amount Needed: <input type="text" name="amount" size="8" value="<?=$amount;?>"/></p>
<p>Interest Rate: <input type="text" name="interest_rate" size="8" value="<?=$interest_rate;?>"/></p>
<p>Payment Period: <input type="text" name="period" size="8" value="<?=$period;?>"/></p>
<p><input type="submit" name="compute" value="Compute"/></p>
<p>
Loan Amount: <?=number_format($amount, 2);?><br/>
Total Interest: <?=number_format($total_interest, 2);?><br/>
Total Payable: <?=number_format($total_payable, 2);?><br/>
Monthly Payable: <?=number_format($monthly_payable, 2);?>
</p>
</form>
</body>
</html>




Celsius To Fahrenheit in VB.NET

A simple program that I wrote using Visual Basic .NET to ask the user to give temperature value in Celsius and then our program will convert the given Celsius temperature into Fahrenheit equivalent.

 I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing



Public Class Form1

    Dim celsius As Integer
    Dim fahrenheit As Double
    Dim solve_fahrenhiet As Double

    Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
        MsgBox("This program written By Jake Rodriguez Pomperada", vbInformation, "About This Program")
    End Sub

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
        End
    End Sub

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

        TxtCelsius.Text = ""
        TxtFahrenheit.Text = ""
        TxtCelsius.Focus()
    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        celsius = Val(TxtCelsius.Text)
        fahrenheit = Val(TxtFahrenheit.Text)
        solve_fahrenhiet = (9 / 5) * (celsius + 32)

        TxtFahrenheit.Text = solve_fahrenhiet
    End Sub

End Class

Calculator Program in PHP

Calculator Program in PHP

I wrote this calculator program using PHP.

 I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

<!doctype html>
<html>
<head>
<title>Calculator Program in PHP</title>
</head>
<style type="text/css"> 
  body {
font-family : arial;
};
</style>
<body>
<form method="POST" action="">
<h2>Calculator Program in PHP</h2>
<?php
$n1=$n2=$res=0;
if(isset($_POST['operation'])){
$n1=$_POST['n1'];
$n2=$_POST['n2'];
$operation=$_POST['operation'];
if($operation=="Add"){
$res=$n1+$n2;
}else if($operation=="Subtract"){
$res=$n1-$n2;
}else if($operation=="Multiply"){
$res=$n1*$n2;
}else{
$res=$n1/$n2;
}
}
?>
<p>Value No. 1 <input type="text" name="n1" value="<?=$n1;?>" size="5"/></p>
<p>Value No. 2 <input type="text" name="n2" value="<?=$n2;?>" size="5"/></p>
<p>
<input type="submit" name="operation" value="Add"/>
<input type="submit" name="operation" value="Subtract"/>
<input type="submit" name="operation" value="Multiply"/>
<input type="submit" name="operation" value="Divide"/>
</p>
<p>Result: <input type="text" name="res" value="<?=$res;?>" size="5"/></p>
</form>
</body>
</html>

Friday, June 19, 2020

Fahrenheit To Celsius in PHP



A program that will convert Fahrenheit temperature into Celsius temperature equivalent using PHP programming language

 I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

<?php
$cel=$fah=0;
if(isset($_POST['convert'])){
$fah=$_POST['fah'];
$cel=($fah-32)*5/9;
}
?>
<!doctype html>
<html>
<head>
<title>Fahrenheit To Celsius in PHP</title>
</head>
<body>
<form method="POST" action="">
<h2>Fahrenheit To Celsius in PHP</h2>
Fahrenheit: <input type="text" name="fah" value="<?=$fah;?>" size="5"/> =
<input type="text" name="cel" value="<?=$cel;?>" size="5"/> Celsius
<br/><br/>
<input type="submit" name="convert" value="Convert"/>
</form>
</body>
</html>

Celsius To Fahrenheit in PHP


A Celsius To Fahrenheit temperature converter program written in PHP programming language.

 I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

<?php
$cel=$fah=0;
if(isset($_POST['convert'])){
$cel=$_POST['cel'];
$fah=$cel*9/5+32;
}
?>
<!doctype html>
<html>
<head>
<title>Celsius To Fahrenheit in PHP</title>
</head>
<body>
<form method="POST" action="">
<h2>Celsius To Fahrenheit in PHP</h2>
Celsius: <input type="text" name="cel" value="<?=$cel;?>" size="5"/> =
<input type="text" name="fah" value="<?=$fah;?>" size="5"/> Fahrenheit
<br/><br/>
<input type="submit" name="convert" value="Convert"/>
</form>
</body>
</html>

Calculator Program in PHP

A calculator program is written in PHP programming language.

 I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/


Program Listing

<!doctype html>
<html>
<head>
<title>Calculator in PHP</title>
</head>
<body>
<form method="POST" action="">
<h2>Calculator in PHP</h2>
<?php
$n1=$n2=$res=0;
if(isset($_POST['operation'])){
$n1=$_POST['n1'];
$n2=$_POST['n2'];
$operation=$_POST['operation'];
if($operation=="Add"){
$res=$n1+$n2;
}elseif($operation=="Subtract"){
$res=$n1-$n2;
}elseif($operation=="Multiply"){
$res=$n1*$n2;
}else{
$res=$n1/$n2;
}
}
?>
<p>Num1: <input type="text" name="n1" value="<?=$n1;?>" size="5"/></p>
<p>Num2: <input type="text" name="n2" value="<?=$n2;?>" size="5"/></p>
<p>
<input type="submit" name="operation" value="Add"/>
<input type="submit" name="operation" value="Subtract"/>
<input type="submit" name="operation" value="Multiply"/>
<input type="submit" name="operation" value="Divide"/>
</p>
<p>Result: <input type="text" name="res" value="<?=$res;?>" size="5"/></p>
</form>
</body>
</html>

Thursday, June 18, 2020

Login Using Text File in C#

A program was written by my friend by Tom the shows how to create a login system using text file in C#.

 I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/


Majority Elements in C#

A program was written by my friend by Tom he called these program majority elements in C#.

 I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

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

   public class ArrayAlgorithms
   {
     public static bool HasMajorityElement<T>(IEnumerable<T> elements,
ref T res)
       where T: IComparable
     {
       T candidate = default(T);
       int count = 0;
       int num_elems = 0;

       foreach(var elem in elements)
       {
         ++num_elems;
         if (count == 0)
         {
           candidate = elem;
         }
         else if (candidate.Equals(elem))
         {
           ++count;
         }
         else
         {
           --count;
         }
       }
       var elem_count = elements.LongCount<T>((elem) =>
candidate.Equals(elem));
       if (elem_count > num_elems / 2)
       {
         res = candidate;
         return true;
       }
       return false;
     }
   }
   class Program
   {
     static void Main(string[] args)
     {
       string[] names = {"Anna", "Lisa", "Anna"};
       string name = string.Empty;

       Console.WriteLine("Testing string[] names.");
       if (ArrayAlgorithms.HasMajorityElement<string>(names, ref name))
       {
         Console.WriteLine("Found majority element: {0}", name);
       }

       Console.WriteLine("Testing int[] numbers.");
       int[] numbers = {1,2,3,4,5,6};
       int res = 0;
       if (ArrayAlgorithms.HasMajorityElement<int>(numbers, ref res))
       {
         Console.WriteLine("Found majority element: {0}", res);
       }
       else
       {
         Console.WriteLine("Counldn't find majority element");
       }
       Console.ReadKey();
     }
   }

Monday, June 15, 2020

RGB Color Mixer in HTML and CSS

A simple program was written by my good friend and fellow software engineer Sir Ernel to show how to use for loop statement using a javascript programming language.

 am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

<h1>JavaScript For Loops</h1>
<h2 id="forloop"></h2>
<script>
var text="";
var i;
for (i = 0; i < 11; i++) {
    text += i + "<br>";
}
document.getElementById("forloop").innerHTML = text;
</script>

Time Date and Day Using JavaScript

A simple program was written by my good friend and fellow software engineer Sir Ernel to generate RGB color mixer in HTML and CSS.

 am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

<!DOCTYPE html>
<html>
<head>
<title>Document</title>
<style>
form > input{
display: flex;
form > .bcm{
width: 100%;
height: 200px;
border: 1px solid grey;
background-color: rgb(0,0,0);
}
</style>
</head>
<body>

<form oninput="sett()">
<input type="range" id="x" max="255" value="0">
<input type="range" id="y" max="255" value="0">
<input type="range" id="z" max="255" value="0">
<div class="bcm"></div>
<code id="code">rgb(0,0,0);</code>
</form>
<script>

function sett()
{
var x = document.getElementById("x").value;
var y = document.getElementById("y").value;
var z = document.getElementById("z").value;

var ok = document.getElementsByClassName("bcm");
ok[0].style.backgroundColor = "rgb("+x+","+y+","+z+")";
var ct = document.getElementById("code");
ct.innerHTML = "rgb("+x+","+y+","+z+")"+";";
</script>
</body>
</html>

For Loop in JavaScript

A simple program was written by my good friend and fellow software engineer Sir Ernel to show how to use for loop statement using a javascript programming language.

 am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

<h1>JavaScript For Loops</h1>
<h2 id="forloop"></h2>
<script>
var text="";
var i;
for (i = 0; i < 11; i++) {
    text += i + "<br>";
}
document.getElementById("forloop").innerHTML = text;
</script>

Time Date and Day Using JavaScript

A simple program was written by my good friend and fellow software engineer Sir Ernel to display the date and time using a javascript programming language.

 am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

<!DOCTYPE html>
<html>
<body>
<h1>if... else... if Statement</h1>
<h2>Click the button to get a time-based greeting:</h2>
<button onclick="myFunction()">HELLO, CLICK ME!!</button>
<h2 id="demo"></h2>
<script>
function myFunction() {
    var greeting;
    var time = new Date().getHours();
    if (time < 10) {
        greeting = "Good morning!! <br> The Time is : " + new Date();
    } else if (time < 20) {
        greeting = "Good day!! <br> The Time is : " + new Date();
    } else {
        greeting = "Good evening!! <br> The Time is : " + new Date();
    }
document.getElementById("demo").innerHTML = greeting;
}
</script>
</body>
</html>

Sum of Digits Using Recursion in C

A simple program was written by my good friend and fellow software engineer Sir Ernel to sum of digits using recursion using C programming language.

 am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

#include<stdio.h>

int sumd(int x)
{
if(x==0)
return 0;
else
return (x%10)+sumd(x/10);
}

int main()
{
int a;
printf("Enter a number :");
scanf("%d",&a);
int b=sumd(a);
printf("\nSum of digits= %d",b);
getch();
}


Sum of Two Number Without Using Plus Symbol in C

A simple program was written by my good friend and fellow software engineer Sir Ernel to add the two numbers without using a plus symbol using a C programming language.

 am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

#include<stdio.h>

int main(){

int a,b,sum;    

printf("Enter any two integers: ");

scanf("%d%d",&a,&b); 

sum = a - ~b -1; 
printf("Sum of two integers: %d",sum); 
return 0; 
}

Saturday, June 13, 2020

Average Grade Solver Using C Language

Average Grade Solver Using C Language

I wrote this program to ask the user to give a series of grades of the students and then the program will compute the average grade of the student and also display if the student pass or fail using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

 /* average.c
   Author   : Jake Rodriguez Pomperada,BSCS,MAED-IT
   Date     : June 13, 2020  7:39 AM  Saturday
   Location : Bacolod City, Negros Occidental
   Tool     : Dev C++ Version 5.11
   Website  : http://www.jakerpomperada.com
   Email    : jakerpomperada@jakerpomperada.com and jakerpomperada@gmail.com
*/
 #include <stdio.h>
 
 int main() {
     int numbers[5];
     int a=0,solve=0,sum=0;
     printf("\n\n");
     printf("\tAverage Grade Solver Using C Language");
     printf("\n\n");
     for (a=0; a<=4; a+=1) {
         printf("\tEnter Grade No. %d : ",a+1);
         scanf("%d",&a[numbers]);    
     }
    printf("\n\n");
     for (a=0; a<=4; a+=1) {
         sum = sum + a[numbers];
         solve =( sum / 5);
     }
    printf("\tThe average grades is %d. ",solve);
    printf("\n\n");
      if (solve >=75) {
        printf("\n");
          printf("\tYou Passed the subject");
      }
      else {
        printf("\n");
          printf("\tYou Failed the subject");
      }
printf("\n\n");
printf("\tEnd of Program");
printf("\n\n");
 }

Highest and Lowest Value Checker Using C Language

Highest and Lowest Value Checker Using C Language

Design a program using a one-dimensional array that will ask the user to give a series of numbers and then the program will check and determine which of the given number is the highest and lowest in terms of numerical value and then display the result on the screen using the C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Sample Program Output


Program Listing

/* highest_lowest.c
   Author   : Jake Rodriguez Pomperada,BSCS,MAED-IT
   Date     : June 13, 2020    6:54 AM  Saturday
   Location : Bacolod City, Negros Occidental
   Tool     : Dev C++ Version 5.11
   Website  : http://www.jakerpomperada.com
   Email    : jakerpomperada@jakerpomperada.com and jakerpomperada@gmail.com
*/
#include <stdio.h>
int main ()
{
    int arr[20], b=0, max=0, min=0;
    printf("\n\n"); 
    printf("\t\tHighest and Lowest Value Checker");
    printf("\n\n");
    printf("\tHow many items to be process? : ");
    scanf("%d",&b);
    printf("\n\n");
    printf("\tEnter items values : ");
    for (int a = 0; a < b; a++){
     scanf("%d",&arr[a]);
      }
        max = arr[0];
    for (int a = 0; a < b; a++)
    {
        if (max < arr[a])
            max = arr[a];
    }
    min = arr[0];
    for (int a = 0; a < b; a++)
    {
        if (min > arr[a])
            min = arr[a];
    }
    printf("\n\n");
    printf("\t===== DISPLAY RESULT =====");
    printf("\n\n");
    printf("\tThe Largest Value is %d.",max);
    printf("\n\n");
    printf("\tThe Smallest Value is %d.",min);
    printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
}



Odd and Even Numbers Checker in C Language

I wrote this program to ask the user to give a number and then the program will check and determine whether the given number is an odd or even numbers using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

/*odd_even.c
 Author   : Jake Rodriguez Pomperada
 Work     : Freelance Software Engineer and Software Engineering Consultant
 Address  : #45-31 Victoria Malaga St. Eroreco Subd. Bry. Mandalanga, Bacolod City
            Negros Occidental, Philippines
 Email    : jakerpomperada@gmail.com
 Website  : www.jakerpomperada.com and www.jakerpomperada.blogspot.com
 Tool     : Dev C++ Version 5.11
 Date     : June 13, 2020   7:06 AM   Saturday
*/
#include <stdio.h>
int a=0,r=0,data=0,b=0;
int values[10];
void get_data();
void display_even();
void display_odd();

void get_data(void)
{
    printf("\n\n");
    printf("\tODD and Even Numbers Checker");
printf("\n\n"); 
    printf("\tHow Many Items To Be Process? :  ");
    scanf("%d",&data);
    printf("\n"); 
       for (b=1; b <= data; b++)
            {
            printf("\tEnter Item No. %d : ",b);
            scanf("%d",&b[values]);
            }
}

void display_even(void)
{
    printf("\n\n");
    printf("\tList of Even Numbers : ");
    printf("\n\n");
        for (a=1; a<=data; a++) {
            r = a[values] % 2;
            if (r ==0) {
            printf("\t %d ",a[values]);
         }
     }
}

void display_odd(void)
 {
    printf("\n\n");
    printf("\tList of Odd Numbers : ");
    printf("\n\n");
     for (a=1; a<=data; a++) {
         r = a[values] % 2;
         if (r!=0) {
          printf("\t %d ",a[values]);
         }
     }
printf("\n\n");
printf("\tEnd of Program");
printf("\n\n");
 }
 
int main() {
     get_data();
     display_even();
     display_odd();
 }