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

Celsius To Fahrenheit in C

 In this tutorial, I will show how to write a C program that will ask the user to give temperature in Celsius and then it will convert it into  Fahrenheit equivalent.

 I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me 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

/* celsius_fahrenheit.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("\tCelsius To Fahrenheit in C");
printf("\n\n");
    printf("\tGive Temperature in Celsius: ");
    scanf("%f",&celsius);

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

    printf("\n\n");
    printf("\t===== DISPLAY RESULTS =====\n");
printf("\n\n");
    printf("\t%.2f Celsius = %.2f Fahrenheit", celsius, fahrenheit);
printf("\n\n");
printf("\tEnd of Program");
    printf("\n\n");
}
 



Bakit Po Mahalaga ang Pagmamahal sa Magulang

Square a Number in C

Square a Number in C

  I wrote this program to ask the user to give a number and then the program will compute the square value of the given number by the user using the 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

/* square_number.c

Jake Rodriguez Pomperada, MAED-IT, MIT

www.jakerpomperada.com 

www.jakerpomperada.blogspot.com

jakerpomperada@gmail.com

November 21, 2020   Saturday  8:52 PM

Bacolod City, Negros Occidental, Philippines */



#include <stdio.h>


int main() {

    int num_val=0;

printf("\n\n");

printf("\tSquare a Number in C");

printf("\n\n");

printf("\tGive a Number : ");

scanf("%d",&num_val);

printf("\n\n");

printf("\tThe square value of %d is %d."

      ,num_val,num_val * num_val);

printf("\n\n");

printf("\tEnd of Program");

printf("\n\n");

}


Square a Number in Pascal

Square a Number in Pascal

 I wrote this program to ask the user to give a number and then the program will compute the square value of the given number by the user using Pascal 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



(* Square_Number.pas

   Mr. Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   Bacolod City, Negros Occidental Philippines.

   November 21, 2020   Saturday    5:32 AM


*)


Program Square_Number;


Uses Crt;


Var Num_Var,Solve_Square : Integer;




Begin


  Num_Var := 0;

  Solve_Square := 0;


  Clrscr;

  Gotoxy(15,4);

  Write('Square a Number in Pascal');

  Gotoxy(15,6);

  Write('Give a Number : ');

  Readln(Num_Var);



  Solve_Square := (Num_Var * Num_Var);


  Gotoxy(15,8);

  Write('The square value of ',Num_Var, ' is ' ,Solve_Square,'.');

  Gotoxy(15,10);

  Write('End of Program');

  Readln;

End.






Monday, November 23, 2020

Square a Number in VB6

Square a Number in VB6

  A program that I wrote to ask the user to give a number and then the program will compute the square equivalent of the given number using Microsoft Visual Basic 6.

 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


Private Sub Command1_Click()

Dim num_val, square As Integer


num_val = Val(Text1.Text)


square = Val(Text1.Text) * Val(Text1.Text)


Label2.Caption = "The square value of " & num_val & " is " & square & "."


End Sub


Private Sub Command2_Click()

Text1.Text = ""

Label2.Caption = ""

Text1.SetFocus

End Sub


Private Sub Command3_Click()

End

End Sub


Average of Three Numbers in Pascal