Friday, November 27, 2020

Student Average Grade in C++

 In this tutorial I will teach you how to solve the student average grade using C++ programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

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. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.





Program Listing

// student_average_grade.cpp

// Mr. Jake Rodriguez Pomperada,MAED-IT,MIT

// www.jakerpomperada.com / www.jakerpomperada.blogpspot.com

// jakerpomperada@gmail.com

// November 27, 2020  Friday

// Bacolod City, Negros Occidental Philippines


#include <iostream>

#include <iomanip>

#include <ctype.h>


using namespace std;



int main()

  {

 

double first_grade=0.00;

  double second_grade=0.00;

  double third_grade=0.00;

  double average_grade=0.00;

  string student_name,remarks;

 

  char reply='Y';

 

  do {

  

  std::cout << "\n\n";

  std::cout << "\tStudent Average Grade in C++";

  std::cout << "\n\n";

  cin.ignore(256, '\n');

std::cout << "\tEnter Student Name : ";

  std::getline (std::cin,student_name);

    std::cout << "\tEnter 1st Grade : ";

  cin >> first_grade;

  std::cout << "\tEnter 2nd Grade : ";

  cin >> second_grade;

  std::cout << "\tEnter 3rd Grade : ";

  cin >> third_grade;

 

  

    average_grade = (first_grade 

                 + second_grade 

+ third_grade)/3;

 

  if (average_grade >= 75) {

 

  remarks = "Passed";

    } else {

    remarks = "Failed";

}

std:: cout << setprecision(2) <<fixed <<"\n";

std::cout << "\tThe Average of " <<student_name

      << " is " <<average_grade;

std::cout <<"\n\n";      

std::cout << "\tRemarks : " << remarks;

std::cout << "\n\n";

std::cout << "\tWould You Like to Try Again? (Y for Yes / N for No) ";

cin >> reply;  

} while (toupper(reply) == 'Y');

std::cout << "\n\n";

  std::cout << "\tEnd of Program";

 

  }


Thursday, November 26, 2020

Basic Math Operations in C#

Basic Math Operations in C#

 In this tutorial I will show you how to write a program that will ask the user to give two numbers and then the program will compute the sum, difference, product, and  quotient of the two given number using C# 

 programming language.


I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

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. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button,SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.





Program Listing

Form1.cs


using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;


namespace Product_of_Two_Numbers

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void button1_Click(object sender, EventArgs e)

        {

            int a, b, sum, difference, multiply,quotient ;

            a = Convert.ToInt32(textBox1.Text);

            b = Convert.ToInt32(textBox2.Text);

            sum = a + b;

            difference = a - b;

            multiply = a * b;

            quotient = a / b;

            textBox3.Text = sum.ToString();

            textBox4.Text = difference.ToString();

            textBox5.Text = multiply.ToString();

            textBox6.Text = quotient.ToString();

        }


        private void button2_Click(object sender, EventArgs e)

        {

            textBox1.Text = "";

            textBox2.Text = "";

            textBox3.Text = "";

            textBox4.Text = "";

            textBox5.Text = "";

            textBox6.Text = "";

            textBox1.Focus();

        }


        private void button3_Click(object sender, EventArgs e)

        {

            Application.Exit();

        }

    }

}


Divisible By 5 in C++

Divisible By 5 in C++

  In this tutorial, I will show you how to write a program that will input a number and will print “Divisible” if the number is divisible by 5, otherwise print “Not Divisible” 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 at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

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. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button ,SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.





Program Listing

divisible.cpp

// divisible.cpp

// Jake Rodriguez Pomperada,MAED-IT, MIT

// November 26, 2020   Thursday

// www.jakerpomperada.com , www.jakerpomperada.blogspot.com

// jakerpomperada@gmail.com


#include <iostream>



int main(int argc, char **argv)

{

    int num=0;

    

    std::cout << "\n\n";

    std::cout << "\tDivisible By 5 in C++";

    std::cout << "\n\n";

    std::cout << "\tEnter a number: ";

    std::cin >> num;

    std::cout << "\n";

    if (num % 5 == 0)

        std::cout << "\tThe given number "

          <<num << " is divisible by 5.\n";

    else

        std::cout << "\tThe given number "

          << num << " is not divisible by 5.\n";

    std::cout << "\n\n";

    std::cout << "\tEnd of Program";

    std::cout << "\n\n";

}


Wednesday, November 25, 2020

Sum and Difference of Two Numbers in C#

Sum and Difference of Two Numbers in C#

  In this tutorial, I will show you how to write a C# program that will ask the user to give two numbers and then the program will compute the product of the two given numbers using Windows Forms in C#.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

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. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button ,SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.




 

Program Listing

Form1.cs

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;


namespace Product_of_Two_Numbers

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void button1_Click(object sender, EventArgs e)

        {

            int a, b, sum, difference;

            a = Convert.ToInt32(textBox1.Text);

            b = Convert.ToInt32(textBox2.Text);

            sum = a + b;

            difference = a - b;

            textBox3.Text = sum.ToString();

            textBox4.Text = difference.ToString();

        }


        private void button2_Click(object sender, EventArgs e)

        {

            textBox1.Text = "";

            textBox2.Text = "";

            textBox3.Text = "";

            textBox4.Text = "";

            textBox1.Focus();

        }


        private void button3_Click(object sender, EventArgs e)

        {

            Application.Exit();

        }

    }

}


Product of Two Numbers in C#

Product of Two Numbers in C#

  In this tutorial, I will show you how to write a C# program that will ask the user to give two numbers and then the program will compute the product of the two given numbers using Windows Forms in C#.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

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. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button ,SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.




Program Listing

Form1.cs

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;


namespace Product_of_Two_Numbers

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void button1_Click(object sender, EventArgs e)

        {

            int a, b, c;

            a = Convert.ToInt32(textBox1.Text);

            b = Convert.ToInt32(textBox2.Text);

            c = a * b;

            textBox3.Text = c.ToString();

        }


        private void button2_Click(object sender, EventArgs e)

        {

            textBox1.Text = "";

            textBox2.Text = "";

            textBox3.Text = "";

            textBox1.Focus();

        }


        private void button3_Click(object sender, EventArgs e)

        {

            Application.Exit();

        }

    }

}



Square Root a Number in PHP

Square Root a Number in PHP

 In this tutorial, I will show how to write a PHP program that will ask the user to give a number and then the program will convert the given number to its square 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 at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

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. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button,SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.




Program Listing

<html>

  <head> 

   <title>Square Root a Number in PHP </title>

  </head>

  <body> 

      <style type="text/css">

      

      body {

        font-family: arial;

            size: 12px;

      };


        </style>

    <?php

 

     $num_values = $_POST['num_val'];


  

   if(isset($_POST['submit'])) {

                  

      $square_root = sqrt($num_values);


      $results ="The Square Root number

       equivalent of $num_values is $square_root.";

    }


 if(isset($_POST['clear'])) {

      $num_values = "";

      $results = "";

    }

?>


  <h2> Square Root a Number in PHP </h2>

  <p> Mr. Jake Rodriguez Pomperada,MAED-IT, MIT </p>

<form method="post">

   <p>Give a Number <input 

    type="numeric" name="num_val"

     value="<?php echo $num_values; ?>" autofocus required /></p>

      

<input type="submit" name="submit" 

   title="Click here to compute the square value. "

   value="Submit" />

   

    &nbsp;&nbsp;&nbsp;

    <input type="submit" name="clear" 

    title="Click here to clear the textbox."

    value="Clear" />

</form>


<?php

   echo $results;

?>

</body>

</html>

Tuesday, November 24, 2020

Square a Number in PHP

Square a Number in PHP

  In this tutorial, I will show how to write a PHP program that will ask the user to give a number and then the program will convert the given number to its square number 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 at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

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. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much. 




Program Listing


<html>

  <head> 

   <title>Square a Number in PHP </title>

  </head>

  <body> 

      <style type="text/css">

      

      body {

        font-family: arial;

            size: 12px;

      };


        </style>

    <?php

 

     $num_values = $_POST['num_val'];


  

   if(isset($_POST['submit'])) {

                  

      $square = ($num_values * $num_values);


      $results ="The square number

       equivalent of $num_values is $square.";

       

      }


 if(isset($_POST['clear'])) {

      $num_values = "";

      $results = "";

    }

?>


  <h2> Square a Number in PHP </h2>

  <p> Mr. Jake Rodriguez Pomperada,MAED-IT, MIT </p>

<form method="post">

   <p>Give a Number <input 

    type="numeric" name="num_val"

     value="<?php echo $num_values; ?>" autofocus required /></p>

      

<input type="submit" name="submit" 

   title="Click here to compute the square value. "

   value="Submit" />

   

    &nbsp;&nbsp;&nbsp;

    <input type="submit" name="clear" 

    title="Click here to clear the textbox."

    value="Clear" />

</form>


<?php

   echo $results;

?>

</body>

</html>

Fahrenheit To Celsius in C

Fahrenheit To Celsius in C

  In this tutorial, I will show how to write a C program that will ask the user to give temperature in Fahrenheit to Celsius 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 at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

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. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much. 





Program Listing


/* fahrenheit_celsius.c

 Mr. Jake Rodriguez Pomperada,MAED-IT,MIT

 www.jakerpomperada.com , www.jakerpomperada.blogspot.com

 jakerpomperada@gmail.com

 November 24, 2020   Tuesday

 Bacolod City, Negros Occidental, Philippines

*/


#include <stdio.h>


int main()

{

    float celsius=0.00;

float fahrenheit=0.00;

    

    printf("\n\n");

printf("\tFahrenheit To Celsius in C");

printf("\n\n");

    printf("\tGive Temperature in Fahrenheit: ");

    scanf("%f",&fahrenheit);


    celsius  = (fahrenheit - 32) * 5 / 9;


    printf("\n\n");

    printf("\t===== DISPLAY RESULTS =====\n");

printf("\n\n");

    printf("\t%.2f Fahrenheit = %.2f Celsius",fahrenheit,celsius);

printf("\n\n");

printf("\tEnd of Program");

    printf("\n\n");

}

 

Celsius To Fahrenheit in C