Thursday, January 2, 2020

Arithmetic Mean in C Language

I wrote this program to ask the user how many items to be processed and then the program will ask the series of numbers and then the program will compute the arithmetic mean 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.

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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/






Sample Program Output



Program Listing

mean.c

#include<stdio.h>

int main()
{
int n=0, i=0, arr[100], sum=0;
int solve_mean=0;
printf("\n\n");
printf("\tArithmetic Mean in C Language");
printf("\n\n");
printf("\tHow many items? : ");
scanf("%d",&n);
printf("\n");
for(i=0; i<n; i++)
{
printf("\tEnter item no. %d : ",i+1);
scanf("%d",&arr[i]);
sum=sum+arr[i];
}
solve_mean=(sum/n);
printf("\n");
printf("\tThe Arithmetic Mean is %d.",solve_mean);
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}



Wednesday, January 1, 2020

Sum and Average of a Number in C++

I wrote this program 10 years ago in my C++ programming class in college where I am teaching here in Bacolod City, Negros Occidental Philippines. This program uses a one-dimensional array as its data structure to ask the user to give five numbers and then the program will calculate the sum and average of the five 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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

sum_average.cpp

#include <iostream>

using namespace std;

main() {
     int val[5], sum=0, average=0;

     cout << "\t\tSUM AND AVERAGE OF THE NUMBER 1.0";
     cout << "\n\n";
     for (int list=0; list < 5; list++) {
      cout << "Enter Item No. " << list+1 << " : ";
      cin >> list[val];
     }
     cout << "\n";
     for (int list=0; list < 5; list++) {
      sum+=list[val];
      average = (sum/5);
      cout << "  " << list[val] << " ";
     }
     cout << "\nThe total sum of the values is " << sum << ".";
     cout << "\nThe average of the values is " << average << ".";
     cout << "\n\n";
     system("PAUSE");
}


Square Values Using Functions in C++

I wrote this program almost 10 years ago that will ask the user to give a series of values and then the program will compute the square values of the given series of numbers using functions in C++ programming language. Happy New year to all my followers and visitors to my website. Thank you for all the support.

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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Program Listing

square.cpp

#include <iostream>
#include <iomanip>

 using namespace std;

// Global Variable

int values[6],a=0;

 void accept_data(void);
 void display_result(void);

 void accept_data()
 {
    for (a=1; a<=5; a+=1) {
          cout << "Enter Value No. "
               << a << " : ";
           cin >> a[values];
      }
 }

 void display_result()
 {
            cout << "\n\n";
            cout << setw(5)
                 << "VALUES"
                 << setw(18)
                 << "SQUARE VALUES";
            cout << "\n\n";
            for (a=1; a<=5; a+=1) {

           cout <<"\n" << setw(3) << a[values]
                << setw(16)
                << a[values] * a[values];
           }
        cout << "\n\n";
        system("pause");
 }
main() {

     cout << "\n\n";
     cout << "\t\t Square A Value Version 1.0";
     cout << "\n\n\n";

    accept_data();
    display_result();
 }


Monday, December 30, 2019

College Student Grading System in C++ Programming Language

I wrote this simple program to compute the grade of a college student using C++ 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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/



Sample Program Output


Program Listing

grading.cpp

#include<iostream>
#include<string>

using namespace std;

int main(){
    string choice;
    string fname, lname, section, course;
    double grade, pg, mg, eg;
    do
    {
        system("cls");
        cout<<"--- Enter choice ---"<<endl;
        cout<<"(1) Enter Student's Data"<<endl;
        cout<<"Type exit/quit to terminate program"<<endl;
        cout<<"#";cin>>choice;
        if (choice=="1")
        {
            cout<<"--- Students Information ---"<<endl;
            cout<<"--- First Name   :";cin>>fname;
            cout<<"--- Last Name    :";cin>>lname;
            cout<<"--- Section      :";cin>>section;
            cout<<"--- Course       :";cin>>course;
            cout<<"--- Students Grading Information ---"<<endl;
            cout<<"--- Prelim Grade :";cin>>pg;
            cout<<"--- Midterm Grade:";cin>>mg;
            cout<<"--- Endter Grade :";cin>>eg;
            grade = (pg*.3)+(mg*.3)+(eg*.4);
            system("cls");
            cout<<"--- Printing Student's Information ---"<<endl;
            cout<<"--- "<<lname<<", "<<fname<<" "<<endl;
            cout<<"--- Course and Section ---"<<endl;
            cout<<"--- Course       :"<<course<<endl;
            cout<<"--- Section      :"<<section<<endl;
            cout<<"--- Final Grade  :"<<grade<<endl;
            cout<<"--- Press 'c' to return to menu ---"<<endl;
            cin>>choice;
        }
        else
        {
            break;
        }
    }
    while(choice!="exit" || choice!="quit");
return 0;
}



Making a Directory in C++

In this article, I would like to share with you guys a code that will create a directory using C++ as my programing 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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

directory.cpp

#include<iostream>

#include<dir.h>

using namespace std;

int main(){
    char dir[200];
    cin>>dir;
    mkdir(dir);
return 0;
}

Reading a Text File Using C++ Programming Language

In this article, I would like to share with you how to read a text file using C++ 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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/



Sample Program Output



Program Listing

read.cpp


#include<iostream>
#include<fstream>

using namespace std;

int main() {

 ifstream myReadFile;
 myReadFile.open("example.txt");
 char output[100];
 if (myReadFile.is_open()) {
 while (!myReadFile.eof())
 {
   myReadFile >> output;
    cout<<output<<" ";
 }
}
myReadFile.close();
return 0;
}




Ordered List in HTML

In this article, I would like to share how to use and declare an ordered list in HTML document.


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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

index.html

<!DOCTYPE html>
<html>
<body>
<head><title>Ordered List</title>
</head>
<ol>
    <li> Mix Ingredients </li>
    <li> Bake in oven for an hour </li>
    <li> Allow to stand for ten minutes </li>
</ol>
</body>
</html>

Unordered List in HTML

In this article, I would like to share how to use and declare unordered list in HTML document.


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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

index.html

<!Doctype html>
<html>
<body>
<head><title>Unordered List</title>
</head>
<ul>
    <li> Chocolate Cake </li>
    <li> Black Forest Cake </li>
    <li> Pineapple Cake <\li>
</ul>
</body>
</html>

Background Color in HTML

In this article, I would like to share how to use and declare background color in HTML.

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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

index.html

<!DOCTYPE html>
<html>
<body bgcolor="yellow">
    
    <p>This is a paragraph<p>

</body>
</html>

Header and Paragraph With Style in HTML and CSS

I wrote this simple HTML document to demonstrate how to use the CSS style in header and paragraph tags.

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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

index.html

<!DOCTYPE html>
<html>
    <body>
    <head>
        <title>Text font </title>
    </head>
    <h1 style="font-family:veranda,">This is a heading</h1>
    <p style="font-family:courier">This is a heading</p>
    </body>
</html>

Sunday, December 29, 2019

Table Cell Padding in HTML

In this tutorial, I will show you how to use table cell padding in HTML document.

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, 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.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

index.html

<!DOCTYPE html>
<html>
    <body>
        <head><title>Table Cellpadding</title></head>
    </body>
        <table border="1" Cellspacing="5">
                <tr>
                    <td>some text,some text</td>
                    <td>some text,some text</td>
                </tr>
                 <tr>
                   <td>some text,some text</td>
                <td>some text,some text</td> 
                </tr>
        </table>
</html>