Friday, January 15, 2021

Square Root in Visual Basic 6

Square Root a Number in Visual Basic 6

 Machine Problem


Write a program using Microsoft Visual Basic 6 to ask the user to give a number and then the program will convert the given number to its square root 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


' Code By Mr. Jake R. Pomperada,MAED-IT,MIT

' www.jakerpomperada.com

' jakerpomperada@gmail.com

' Product of Philippines



Private Sub Command1_Click()

Text2.Text = Sqr(Val(Text1.Text))

End Sub


Private Sub Command2_Click()

Text1.Text = ""

Text2.Text = ""

Text1.SetFocus

End Sub


Private Sub Command3_Click()

End

End Sub


Square Root in C

Square Root in C

 Machine Problem in C

   

   Write a program that will ask the user to give a number and the program will convert the given number into its square root 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

/* square_root.c


   Machine Problem in C

   

   Write a program that will ask the user to give a number

   and the program will convert the given number into 

   its square root equivalent.

   

   Mr. Jake R. Pomperada,MAED-IT, MIT

   www.jakerpomperada.com

   www.jakerpomperada.blogspot.com

   jakerpomperada@gmail.com

   Bacolod City, Negros Occidental, Philippines

*/

 

#include <math.h>

#include <stdio.h>


int main() {

   double val_num=0.00;

   double squareRoot=0.00;


   printf("\n");

   printf("\n\tSquare Root in C");

   printf("\n\n");

   printf("\tGive a Number : ");

   scanf("%lf", &val_num);


   /* Coversion To Square Root */

   

   squareRoot = sqrt(val_num);

   

   printf("\n\n");

   printf("\tThe Square Root of %.2lf =  %.2lf",val_num, squareRoot);

   printf("\n\n");

   printf("\tEnd of Program");

   

}


Thursday, January 14, 2021

Decimal To Roman Numeral in Java

Decimal To Roman Numeral in Java

 Machine Problem in Java

Write a program to ask the user to give a number and then the program will convert the given number into Roman numeral 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


/**

Machine Problem in Java


Write a program to ask the user to give a number and then the 

program will convert the given number into Roman numeral 

equivalent.


 @author Jake Rodriguez Pomperada,MAED-IT, MIT

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

 jakerpomperada@gmail.com

 Bacolod City, Negros Occidental Philippines

 January 14, 2021 Thursday 8:58 PM

*/


import java.util.*;



public class Decimal_Roman_Numeral {


private static String Convert_To_Roman_Numeral(int num) {

String[] romanCharacters = { "M", "CM", "D", "C", "XC", "L", "X", "IX", "V", "I" };

int[] romanValues = { 1000, 900, 500, 100, 90, 50, 10, 9, 5, 1 };

String result = "";

 

for (int i = 0; i < romanValues.length; i++) {

int numberInPlace = num / romanValues[i];

if (numberInPlace == 0) continue;

result += numberInPlace == 4 && i > 0? romanCharacters[i] + romanCharacters[i - 1]:

new String(new char[numberInPlace]).replace("\0",romanCharacters[i]);

num = num % romanValues[i];

}

return result;

}

 

public static void main(String[] args) {

// TODO Auto-generated method stub

Scanner sc=new Scanner(System.in);

        int num=0;

        

        System.out.println();  

    System.out.println("\tDecimal To Roman Numeral in Java");

    System.out.println();

     

        System.out.print("\tGive a Number : ");

        num=sc.nextInt();

     

        System.out.println();

        System.out.println("\tThe Decimal Value   : " + num);

        System.out.println("\tRoman Numeral Value : "

        + Convert_To_Roman_Numeral(num));

        System.out.println();

        System.out.println("\tEnd of Program");

        System.out.println("\n");

        sc.close();

}


} // End of Code



Percentage Grade in C++

Percentage in 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.

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


/* percentage.cpp


   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

   jakerpomperada@gmail.com

   Bacolod City, Negros Occidental, Philippines

*/

 

#include <iostream>

#include <iomanip>

 

int main()

{

  float percentage = 0.00;

  int total_marks = 0;

  int scored = 0;


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

  std::cout <<"\tPercentage in C++";

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

  std::cout <<"\tEnter Score       : ";

  std::cin >> scored;

  std::cout <<"\tEnter Total Marks : ";

  std::cin >> total_marks;

    

  percentage = (float)scored / total_marks * 100.0;


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

  std::cout << std::fixed;

  std::cout <<"\tThe Percentage is " << std::setprecision(2) 

  <<percentage <<"%";

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

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

 }


Wednesday, January 13, 2021

Percentage in 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 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

/* 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

   jakerpomperada@gmail.com

   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");

 }


   

Cube a Number in 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 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


/* 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

   jakerpomperada@gmail.com

   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");

 }

Tuesday, January 12, 2021

Difference of Two Numbers Using Modern 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 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


// 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

// jakerpomperada@gmail.com

// 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";

}

Monday, January 11, 2021

Filipino Reading By Julianna Rae Pomperada

Two Digits Number Checker in 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 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

// 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    : jakerpomperada@gmail.com

//   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;

}

    


Two Digits Number Checker in C