Categories
C

Percentage in C

  Machine Problem in C

Write a program that will ask the user to give a score and total mark and compute the percentage, and display the results.

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 [email protected], [email protected], and [email protected]

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

/* percentage.c

   Machine Problem in C
   
   Write a program that will ask the user to give score and
   total mark and compute the percentage, and display the
   results.
   
   Mr. Jake R. Pomperada,MAED-IT, MIT
   www.jakerpomperada.com
   www.jakerpomperada.blogspot.com
   [email protected]
   Bacolod City, Negros Occidental, Philippines
*/
 
#include<stdio.h>
 
int main()
{
  float percentage = 0.00;
  int total_marks = 0;
  int scored = 0;

  printf("\n\n");
  printf("\tPercentage in C");
  printf("\n\n");
  printf("\tEnter Score       : ");
  scanf("%d", &scored);
  printf("\tEnter Total Marks : ");
  scanf("%d", &total_marks);
  
  percentage = (float)scored / total_marks * 100.0;

  printf("\n\n");
  printf("\tThe Percentage is %5.2f%%.", percentage);
  printf("\n\n");
  printf("\tEnd of Program");
 }
Categories
C

Cube a Number in C

 Machine Problem in C

   Write a program that will ask the user to give a number and then the program will compute it cube 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 [email protected], [email protected], and [email protected]

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

/* cube_a_number.c

   Machine Problem in C
   
   Write a program that will ask the user to give a number 
   and then the program will compute it cube number equivalent.
   
   Mr. Jake R. Pomperada,MAED-IT, MIT
   www.jakerpomperada.com
   www.jakerpomperada.blogspot.com
   [email protected]
   Bacolod City, Negros Occidental, Philippines
*/
 
#include<stdio.h>
 
int main()
{
  int number=0, cube_number=0;
 
  printf("\n\n");
  printf("\tCube a Number in C");
  printf("\n\n");
  printf("\tEnter an Integer Number : ");
  scanf("%d", &number);
  
  cube_number = (number * number * number);
  
  printf("\n\n");
  printf("\tThe Cube of a given number %d is %d.",number, cube_number);
  printf("\n\n");
  printf("\tEnd of Program");
 }
Categories
C++

Difference of Two Numbers Using Modern C++

 Machine Problem in C++

 Write a program to ask the user to give two numbers and then the program will solve the difference of two  numbers on the screen using Modern 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 [email protected], [email protected], and [email protected]

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

// difference_two.cpp
//
// Machine Problem in C++
// Write a program to ask the user to give two numbers
// and then the program will solve the difference of two
// numbers on the screen using Modern C++.
//
// Mr. Jake R. Pomperada,MAED-IT,MIT
// www.jakerpomperada.com
// www.jakerpomperada.blogspot.com
// [email protected]
// Bacolod City, Negros Occidental, Philippines


#include <iostream>

int main()
{
	int difference=0,a=0,b=0;
	
	std::cout <<"\n\n";
	std::cout <<"\tDifference of Two Numbers Using Modern C++";
	std::cout <<"\n\n";
	std::cout <<"\t Give First  Value : ";
	std::cin >> a;
	std::cout <<"\t Give Second Value : ";
	std::cin >> b;
	std::cout <<"\n\n";
	
	difference = (a-b);
	
	std::cout <<"\tThe difference between " << a
	          << " and " << b << " is " << difference <<".";
	std::cout <<"\n\n";
	std::cout <<"\tEnd of Program";
	std::cout <<"\n";
}
Categories
C++

Two Digits Number Checker Using Modern C++

   Machine Problem in Modern C++

 Write a program using Modern C++ accept a number then display  whether the number is less than two digits or more than two digits.

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 [email protected], [email protected], and [email protected]

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

// two_digits.cpp
   
//   Machine Problem in Modern C++
   
//   Write a program in Modern C++ to accept a number then display 
//   whether the number is less than two digits or more than two digits.
   
//   Author   : Jake Rodriguez Pomperada, MAED-IT, MIT
//   Date     : January 11, 2020
//   Website  : www.jakerpomperada.com / www.jakerpomperada.blogspot.com
//   Email    : [email protected]
//   Place    : Bacolod City, Negros Occidental, Philippines
	
							
#include <iostream>

int main()
{
	int num=0;
	
	std::cout <<"\n\n";
	std::cout <<"\tTwo Digits Number Checker Using Modern C++";
	std::cout <<"\n\n";
	std::cout <<"\tEnter a Number : ";
	std::cin >> num;
	std::cout <<"\n\n";
	
	
	if (num < 0) {
	 std::cout <<"\t " << num <<
	      " is a negative number kindly give a positive number.";
	} else if(num >= 0 && num <= 9 )
	{
	  std::cout <<"\t " << num <<" is less than two digits.";
	}
	else if (num >=10   && num <= 99 ) 
	{
	  std::cout <<"\t " << num << " has two digits.";
	} 
	else 
	{
	std::cout <<"\t " << num << " is more than two digits.";	
	}
	std::cout <<"\n\n";
	std::cout <<"\tEnd of Program";
	std::cout <<"\n\n";
	return 0;
}
					    
Categories
C

Two Digits Number Checker in C

  Machine Problem in C

 Write a program in C accept a number then display  whether the number is less than two digits or more than two digits.

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 [email protected], [email protected], and [email protected]

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

/* two_digits.c
   
   Machine Problem in C
   
   Write a program in C accept a number then display 
   whether the number is less than two digits or more than two digits.
   
   Author   : Jake Rodriguez Pomperada, MAED-IT, MIT
   Date     : January 11, 2020
   Website  : www.jakerpomperada.com
   Email    : [email protected]
   Place    : Bacolod City, Negros Occidental, Philippines
*/	
							
#include <stdio.h>

int main()
{
	int num=0;
	
	printf("\n\n");
	printf("\tTwo Digits Number Checker in C");
	printf("\n\n");
	printf("\tEnter a Number : ");
	scanf("%d",&num);
	printf("\n\n");
	
	if(num >= 0 && num <= 9 )
	{
		printf("\t%d is less than two digits.",num);
	}
	else if (num >=10   && num <= 99 ) 
	{
		printf("\t%d has two digits.",num);
	} 
	else 
	{
		printf("\t%d is more than two digits.",num);	
	}
	printf("\n\n");
	printf("\tEnd of Program");
	printf("\n\n");
	return 0;
}
					    
Categories
JavaScript

Multiply and Division of Two Numbers in JavaScript

 I wrote this simple program to ask the user to give two numbers and then the program will compute the product and quotient of two numbers using JavaScript 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 [email protected], [email protected], and [email protected]

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

<!DOCTYPE html>
<html> 
<head>
<meta charset=utf-8 />
<title>Multiply and Division of Two Numbers in JavaScript </title>
<style type="text/css">
body {
    background-color: lightgreen;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    }
</style> 
</head>
<script>
    function multiply()
{
        num1 = document.getElementById("firstvalue").value;
        num2 = document.getElementById("secondvalue").value;
        document.getElementById("result").innerHTML = num1 * num2;
}

function divide()
{ 
        num1 = document.getElementById("firstvalue").value;
        num2 = document.getElementById("secondvalue").value;
        solve_divide = num1/num2;
        document.getElementById("result").innerHTML = solve_divide.toFixed(2);
}

function clear_all()
{
    document.getElementById("firstvalue").value="";
    document.getElementById("secondvalue").value="";
    document.getElementById("result").innerHTML = ""
    document.getElementById("firstvalue").focus();
}

</script>
<body>
   <h3>Multiply and Division of Two Numbers in JavaScript </h3>
   <p> Create By Mr. Jake R. Pomperada,MAED-IT, MIT </p><br>
<form>
First  Value  :  <input type="text" id="firstvalue" /><br>
Second Value  :  <input type="text" id="secondvalue" /><br><br>
<input type="button" onClick="multiply()" Value="Multiply" 
 title="Click here to multiply the two given numbers."/>
<input type="button" onClick="divide()" Value="Divide" 
title="Click here to divide two given numbers."/> &nbsp;
<input type="button" onClick="clear_all()" Value="Clear" 
title="Click here to clear the textbox."/>
</form><br>
<p>The Result is 
<span id = "result"></span>
</p>
</body>
</html>
Categories
PHP

US Dollar to Philippine Peso in PHP

 I wrote this simple program to ask the user to give us dollar value and then the program can convert the given us dollar into Philippine Peso currency value using PHP 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 [email protected], [email protected], and [email protected]

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>US Dollar to Philippine Peso in PHP </title>
  </head>
  <body> 
      <style type="text/css">
      
      body {
        font-family: arial;
            size: 12px;
      };

        </style>
    <?php
 
     $us_dollar = $_POST['us_dollar'];

  
   if(isset($_POST['submit'])) {
                  
      $phil_peso = ($us_dollar * 48.15);

      $results ="The Philippine Peso
       equivalent of $us_dollar US Dollar is PHP ".number_format($phil_peso,2);
    }

 if(isset($_POST['clear'])) {
      $us_dollar = "";
      $results = "";
    }
?>

  <h2> US Dollar to Philippine Peso in PHP </h2>
  <p> Mr. Jake Rodriguez Pomperada,MAED-IT, MIT </p>
<form method="post">
   <p>Give US Dollar <input 
    type="numeric" name="us_dollar"
     value="<?php echo $us_dollar; ?>" autofocus required /></p>
      
<input type="submit" name="submit" 
   title="Click here to compute the Philippine Peso 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>
Categories
C#

US Dollar To Philippine Peso in C#

 I wrote this simple program to ask the user to give us dollar value and then the program can convert the given us dollar into Philippine Peso currency value 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 [email protected], [email protected], and [email protected]

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

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            double compute=0.00;

            if (textBox1.Text == "")
            {

                MessageBox.Show("Cannot Be Empty. Try Again");
                textBox1.Focus();
            }
            else
            {

                compute = Convert.ToDouble(textBox1.Text) * 48.62;
                textBox2.Text = compute.ToString("PHP 00.00");
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            textBox1.Text = "";
  
            textBox2.Text = "";

            textBox1.Focus();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
Categories
Visual FoxPro

US Dollar To Philippine Peso in Visual FoxPro

  I wrote this simple program to ask the user to give us dollar value and then the program can convert the given us dollar into Philippine Peso currency value using Visual Foxpro

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 [email protected], [email protected], and [email protected]

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

Compute Button

result = ROUND(VAL(thisform.text1.Value) * 48.03,2)

thisform.text2.value = result


Clear Button

thisform.text1.value = ""
thisform.text2.value = ""
thisform.text1.SetFocus

Quit Button

thisform.Release
Categories
VB6

US Dollar To Philippine Peso in Visual Basic 6

 I wrote this simple program to ask the user to give us dollar value and then the program can convert the given us dollar into Philippine Peso currency value.

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 [email protected], [email protected], and [email protected]

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 compute As Double
Dim Philippine_Peso As Double

Philippine_Peso = 48.07

compute = Val(Text1.Text) * Philippine_Peso

Text2.Text = "Php " + Trim(Format$(compute, "#####,#####.##"))
End Sub

Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
Text1.SetFocus
End Sub

Private Sub Command3_Click()
End
End Sub