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>

Tables in HTML

In this article, I would like to share with you guys how to use tables 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>
        <head><title>Headings in table</title></head>
    </body>
        <table border="1">
                <tr>
                    <th>Heading</th>
                    <th>Another Heading</th>
                </tr>
                <tr>
                    <td>row 1, cell 1</td>
                    <td>row 1, cell 2</td>
                </tr>
                 <tr>
                    <td>row 1, cell 1</td>
                    <td>row 2, cell 2</td>
                </tr>
            
        </table>
</html>

Wednesday, December 25, 2019

Perfect Square Checker in C Language

I wrote this program to ask the user to give a number and then the program will check whether the given number is a perfect square number or not.

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

perfect_square.c

/* perfect_square.c
   Jake R. Pomperada
   December 25, 2019 
   Wednesday   */

#include<stdio.h>

int main()
{
    printf("\n\n");
printf("\tPerfect Square Checker in C Language");
    printf("\n\n");
      int i=0, number=0;
    printf("\tGive a Number : ");
    scanf("%d", &number);

   
    for(i = 0; i <= number; i++)
    {
        if(number == i*i)
        {
            printf("\n");
            printf("\tThe given number %d is a Perfect Square Number.",number);
            return 0;  
        }
    }
     printf("\n");
     printf("\tThe given number %d is Not Perfect Square Number.",number);
     printf("\n");
     printf("\tEnd of Program");
     printf("\n");
}



Count Number of Words and Digits in a Sentence in C++

I wrote this program to ask the user to give a sentence and then the program will count the number of words and digits in the sentence and display the results on the screen using a 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/


Program Listing

sentence.cpp

// Word and Number Counter 1.0 in C++
// Author : Mr. Jake Rodriguez Pomperada, MAED - Instructional Technology
// Date   : October 3, 2009 Saturday
// Email  : jakerpomperada@yahoo.com


#include <iostream>
#include <string>
#include <cctype>


using namespace std;

// Function to count the words in the sentence

 int WordCount(string sentence)
{
    int length = sentence.length();
    int words = 1;

    for (int size = 0; length > size; size++)
    {

       if (sentence[size] == ' ' && sentence[size-1] != ' ')
         words++;      // Count the words if there is a space
    }
    if ( sentence[0] == ' '/*space*/ )
      words--;
    return words ;
}


// Function to count digits in the sentence

 int NumCount(string sentence)
{
   int digits=0,count=0;

  char c;

while ( sentence[count] != '\0' && sentence[count] != '\n' ) {
  c = toupper( sentence[count] );

    if(c>='0'&& c<='9') {

digits++;
    }
count++;
}
 return digits;

}


main()
 {
     char string2[500];

     cout << "\n\n\t\t  WORD AND NUMBER COUNTER 1.0 in C++ ";
     cout << "\n\n\t  Created By: Mr. Jake Rodriguez Pomperada, MAED-IT";
     cout << "\n\n\n";

     cout << "Enter a sentence :=> ";
     cin.getline(string2,500);

     cout << "\n\n\n";
     cout << "\n\t === GENERATED REPORT === ";
     cout << "\n\nThe number of word(s) in the sentence is "
          << WordCount(string2) << ".";
     cout << "\n\nThe number of digits(s) in the sentence is "
          << NumCount(string2) << ".";
     cout << "\n\n";

   system("PAUSE");
 } // End of Code