Tuesday, March 21, 2023

Subtract Two Numbers Using Forms in C#

  A simple program asks the user to give two numbers and then the program will subtract the two numbers and display the results on the screen 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.

 




Program Listing

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;


namespace WindowsFormsApplication1

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void button1_Click(object sender, EventArgs e)

        {

            double a, b, c;


            a = Convert.ToDouble(textBox1.Text);


            b = Convert.ToInt32(textBox2.Text);


            c = a - b;


            textBox3.Text = c.ToString();

        }

    }

}


Multiply Two Numbers Using Forms in C#

Multiply Two Numbers Using Forms in C#

  A simple program asks the user to give two numbers and then the program will multiply the two numbers and display the results on the screen 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.




Program Listing

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;


namespace WindowsFormsApplication1

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void button1_Click(object sender, EventArgs e)

        {

            double a, b, c;


            a = Convert.ToDouble(textBox1.Text);


            b = Convert.ToInt32(textBox2.Text);


            c = a * b;


            textBox3.Text = c.ToString();

        }

    }

}



Sunday, March 19, 2023

Cube a Number Using Pointers in C

Cube a Number Using Pointers in C

 A program that will ask the user to give a number and then the program will compute the cube equivalent of the given number by the user using pointers in 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.




Program Listing

#include <stdio.h> int main() { int num, *p, cube; printf("\n"); printf("\tCube a Number Using Pointers in C\n\n"); printf("\tEnter a number: "); scanf("%d", &num); p = &num; cube = (*p) * (*p) * (*p); printf("\n\n"); printf("\tThe cube of %d is %d", *p, cube); return 0; }

Friday, March 17, 2023

Divide Two Numbers Using Forms in C#

Divide Two Numbers Using Forms in C#

 A simple program asks the user to give two numbers and then the program will divide the two numbers and display the results on the screen 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.




Program Listing

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 divide

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void textBox3_TextChanged(object sender, EventArgs e)

        {


        }


        private void button1_Click(object sender, EventArgs e)

        {

            double a, b, c;

            a = Convert.ToDouble(textBox1.Text);

            b = Convert.ToInt32(textBox2.Text);

           c = a / b;

            textBox3.Text = c.ToString();

        }

    }

}



Tips To Become A Graphics Artist

How To Manage A Business?

Thursday, March 16, 2023

Display Names Using Filter in AngularJS

Display Names Using Filter in AngularJS

 Machine Problem

Write a program that uses filter Filter to display the names that contain with the letter "i" in the screen.

List of Person's Names

Jake, Allie, Lydia,Vinky,Jacob, Gracin,Gavin,

Gelia, Virgilio, and  Rocky


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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

index.htm

<!-- index.htm

  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

  Date     : August 1, 2021  12:12 PM  Sunday

  Place    : Bacolod City, Negros Occidental

  Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com

  Email    : jakerpomperada@gmail.com

 -->

<html>

<head>

  <title>Display Names Using filter Filter in AngularJS</title>

</head>

<style>

body {

  font-family: arial;

  font-size: 20px;

  font-weight: bold;

}

</style>

<script type="text/javascript" src="angular.min.js">

</script><br>

<h3>

Display Names Using filter Filter in AngularJS

</h3>

<div ng-app="myApp" ng-controller="namesCtrl">  

<ul>  

  <li ng-repeat="x in names | filter : 'i'">  

    {{ x }}  

  </li>  

</ul>  

</div>  

<script>  

angular.module('myApp', []).controller('namesCtrl', function($scope) {  

    $scope.names = [  

'Jake',

'Allie',

'Lydia',

'Vinky',

'Jacob',

'Gracin',

'Gavin',

'Gelia',

'Virgilio',

'Rocky'

    ];  

});  

</script>  

</body>

</html>


How To Start A Business?

Count Vowels and Consonants in Pascal

Count Vowel and Consonants in Pascal

 A program that will ask the user to give a string or sentence and then the program will count the vowels and consonants in a given string or sentence 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

program CountVowelsAndConsonants;


var

   inputStr: string;

   numVowels, numConsonants: integer;

   i: integer;

   currentChar: char;


begin

   numVowels := 0;

   numConsonants := 0;

   writeln;

   write('Vowels and Consonants in Pascal');

   writeln;

   writeln;

   write('Enter a string: ');

   readln(inputStr);

   

   for i := 1 to length(inputStr) do begin

      currentChar := upcase(inputStr[i]);

      if (currentChar >= 'A') and (currentChar <= 'Z') then begin

         if (currentChar = 'A') or (currentChar = 'E') or (currentChar = 'I') or (currentChar = 'O') or (currentChar = 'U') then begin

            numVowels := numVowels + 1;

         end

         else begin

            numConsonants := numConsonants + 1;

         end;

      end;

   end;

   

   writeln;

   writeln('The number of vowels in the string is: ', numVowels);

   writeln('The number of consonants in the string is: ', numConsonants);

    writeln;

   write('End of Program');

   writeln;

   readln;

end.


Wednesday, March 15, 2023

Division of Two Numbers Using Scala

Division of Two Numbers Using Scala

 Machine Problem

Write a program to ask the user to give two numbers and then the program will compute the quotient of the two given numbers, and display the results on the screen using Scala 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.




Program Listing

/* division.scala Prof. Jake Rodriguez Pomperada, MAED-IT, MIT www.jakerpomperada.blogspot.com and www.jakerpomperada.com jakerpomperada@gmail.com January 3, 2022 10: 25 AM Bacolod City, Negros Occidental */ import java.util.Scanner; object division { def main(args: Array[String]) : Unit = { var input = new Scanner(System.in); print("\n\n"); print("\tDivision of Two Numbers Using Scala"); print("\n\n"); print("\tEnter First Value : "); var num_val_one = input.nextDouble(); print("\tEnter Second Value : "); var num_val_two = input.nextDouble(); var results = (num_val_one / num_val_two); print("\n"); print("\t===== DISPLAY RESULTS ====="); print("\n\n"); print("\t" + num_val_one + " / " + num_val_two + " = " + f"$results%5.2f"); print("\n\n"); print("\tEND OF PROGRAM"); print("\n\n"); } }

Payroll Program in C#