Learn Computer Programming Free from our source codes in my website.
Sponsored Link Please Support
https://www.techseries.dev/a/27966/qWm8FwLb
https://www.techseries.dev/a/19181/qWm8FwLb
My Personal Website is http://www.jakerpomperada.com
Email me at jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Tuesday, May 31, 2022
Lower Case in Visual Basic 6
A program to ask the user to give a string and then it will convert it into lower case string format 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 in 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
=================================================
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.
Upper Case String in Visual Basic 6
A program to ask the user to give a string and then it will convert it into upper case string format 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 in 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
=================================================
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.
Monday, May 30, 2022
Age Checker in Visual Basic 6
A program asks the user to give their age and then the program will check if the given age is still a minor or already an adult 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 in 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
=================================================
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.
Sunday, May 29, 2022
Area of the Circle in QBasic
A program that I wrote using Qbasic programming language to solve the area of the circle.
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 in 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
=================================================
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.
Yearly Compounded Interest in C++
A simple program that I wrote to compute the yearly compounded interest of a loan 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 in 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
=================================================
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.
Saturday, May 28, 2022
Rock, Paper, and Scissors Game in Python
A simple game program that I wrote using Python programming language called Rock, Paper, and Scissors I hope you will like it.
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 in 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
=================================================
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
import random
name = input()
user_action = input("Enter a choice (rock, paper, scissors): ")
possible_actions = ["rock", "paper", "scissors"]
computer_action = random.choice(possible_actions)
print(f"\nYou chose {user_action}, computer chose {computer_action}.\n")
if user_action == computer_action:
print(f"Both players selected {user_action}. It's a tie!")
elif user_action == "rock":
if computer_action == "scissors":
print(f"Rock smashes {name}! You win!")
else:
print(f"Paper covers {name}! You lose.")
elif user_action == "paper":
if computer_action == "rock":
print(f"Paper covers {name}! You win!")
else:
print(f"Scissors cuts {name}! You lose.")
elif user_action == "scissors":
if computer_action == "paper":
print(f"Scissors cuts {name}! You win!")
else:
print(f"Rock smashes {name}! You lose.")
Friday, May 27, 2022
Decimal To Octal in JavaScript
A program asks the user to give a decimal number and then the program will convert the given decimal number into an octal equivalent 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 in 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
=================================================
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.
Thursday, May 26, 2022
Decimal To Binary Using JavaScript
A simple program asks the user to give a decimal value and then the program will convert the given decimal value into binary equivalent 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 in 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
=================================================
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Convert Decimal to Binary Using JavaScript</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #d8dede;
background-image: linear-gradient(315deg, #d8dede 0%, #e5bdf6 74%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: sans-serif;
}
form {
background: #fff0f0;
/* background: rgba(255, 255, 255, 0.4); */
padding: 30px;
border-radius: 10px;
}
h1, h2 {
text-align: center;
}
h1 {
text-transform: uppercase;
margin-bottom: 5px;
font-size: 30px;
}
h2 {
margin-bottom: 20px;
color: #ff9800;
font-size: 20px;
font-weight: 400;
}
label,
input,
button {
display: block;
font-size: 14px;
outline: none;
}
label {
padding: 5px 0;
}
.btn-group {
display: flex;
}
input {
border: 1px solid #ccc;
border-right: none;
border-radius: 3px 0 0 3px;
width: 100%;
padding: 10px;
}
button {
padding: 10px 14px;
background-color: #3D5A80;
border: none;
border-radius: 0 3px 3px 0;
color: #fefefe;
cursor: pointer;
}
.output {
margin-top: 10px;
background-color: #EE6C4D;
padding: 15px;
color: #fefefe;
text-align: center;
max-width: 330px;
word-wrap: break-word;
border-radius: 3px;
}
.hidden {
display: none;
}
</style>
</head>
<body>
<form action="" method="post">
<h1>Convert<br>Decimal to Binary<br>Using JavaScript</h1>
<h2>Jake R. Pomperada, MAED-IT, MIT</h2>
<label for="txtNumber">Enter a number to convert:</label>
<div class="btn-group">
<input type="number" name="txtNumber" id="txtNumber" autofocus required>
<button type="submit">Convert</button>
</div>
<div class="output hidden"></div>
</form>
<script>
document.querySelector('form').onsubmit = (e) => {
e.preventDefault()
let number = parseInt(document.querySelector('#txtNumber').value),
output = document.querySelector('.output')
result = number.toString(2)
output.classList.remove("hidden")
output.innerHTML = 'Binary Value: ' + result
}
</script>
</body>
</html>