In the tutorial, I will show you how to create a login and registration system using Microsoft Visual Basic NET and Microsoft Access.
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
In the tutorial, I will show you how to create a login and registration system using Microsoft Visual Basic NET and Microsoft Access.
In this tutorial, I will show you guys how to create a Java program to ask the user to give a character, and then the program will check if the given character is an alphabet or not.
Program Listing
/**
* @author Jake Rodriguez Pomperada,MAED-IT, MIT
* www.jakerpomperada.com www.jakerpompomperada.blogspot.com
* jakerpomperada@gmail.com
* Bacolod City, Negros Occidental Philippines
*
*/
import java.util.Scanner;
public class Alphabet_Checker {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan = new Scanner(System.in);
System.out.println();
System.out.println("===== Alphabet Checker in Java =====");
System.out.println();
System.out.print("Give a Alphabet : ");
char char_given = scan.next().charAt(0);
System.out.println();
// checks if char_giv is an alphabet
if (Character.isAlphabetic(char_given)) {
System.out.println("The given " + char_given + " is an alphabet.");
}
else {
System.out.println("The given " + char_given + " is not an alphabet.");
}
System.out.println();
System.out.println("===== END OF PROGRAM =====");
System.out.println();
}
}
In this tutorial, I will teach you how to write a simple addition of two numbers using Dart programming language.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
In this tutorial, I will show you how to create a menu-driven program to convert feet to the inch and vice versa using Java programming language. I hope you will like my program.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
/**
* @author Jake Rodriguez Pomperada,MAED-IT, MIT
* www.jakerpomperada.com www.jakerpompomperada.blogspot.com
* jakerpomperada@gmail.com
* Bacolod City, Negros Occidental Philippines
*
*/
import java.util.Scanner;
import java.math.RoundingMode;
import java.text.DecimalFormat;
public class Feet_Inch {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan = new Scanner(System.in);
DecimalFormat df = new DecimalFormat("#.##");
df.setRoundingMode(RoundingMode.CEILING);
System.out.println();
System.out.println("===== Feet To Inch Conversion in Java =====");
System.out.println();
System.out.println("[1] Feet to Inch Conversion");
System.out.println("[2] Inch To Feet Conversion");
System.out.println();
System.out.print("Selection your option : ");
int ch= scan.nextInt();
if (ch==1)
{
System.out.println();
System.out.print("Give Feet Value : ");
double feet = scan.nextDouble();
double inch = feet*12;
System.out.println();
System.out.println("The feet(s) equivalues is "+df.format(inch));
}
else if (ch==2)
{
System.out.println();
System.out.print("Give Inch Value : ");
double inch = scan.nextDouble();
double feet= inch/12;
System.out.println();
System.out.println("The feet(s) equivalues is "+df.format(feet));
}
else
{
System.out.println("Invalid Option. Please Try Again.");
}
System.out.println();
System.out.println("===== END OF PROGRAM =====");
System.out.println();
}
}
In this tutorial our program will count the number of vowels, consonants, and digits using C programming language. I hope you will find my work useful.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
/* vowels_consonants.c
Author : Jake Rodriguez Pomperada, MAED-IT, MIT
www.jakerpomperada.com www.jakerpomperada.blogspot.com
jakerpomperada@gmail.com
Bacolod City, Negros Occidental Philippines
*/
#include <stdio.h>
#include <assert.h>
#include <stdbool.h>
#include <ctype.h>
#include <string.h>
typedef struct
{
int vowel_count;
int consonant_count;
int digit_count;
}Stat;
bool is_vowel(char ch)
{
const char vowels[] = "aeiou";
return strchr(vowels, tolower(ch)) != NULL;
}
bool is_consonant(char ch)
{
const char consonants[] = "bcdfghjklmnpqrstuvwxyz";
return strchr(consonants, tolower(ch)) != NULL;
}
void do_stats(const char* txt, size_t size, Stat *stat)
{
assert(txt != NULL && size > 1);
assert(stat != NULL);
const char *cp = txt;
while (size--)
{
if (is_vowel(*cp))
stat->vowel_count++;
else if (is_consonant(*cp))
stat->consonant_count++;
else if (isdigit(*cp))
stat->digit_count++;
cp++;
}
}
void print_stats(const Stat* stat)
{
assert(stat != NULL);
printf("\tStatistics:\n");
printf("\t===========\n");
printf("\t Vowels : %d\n", stat->vowel_count-1);
printf("\t Consonants: %d\n", stat->consonant_count);
printf("\t Digits : %d\n", stat->digit_count);
}
int main()
{
Stat stat = {0,0,0};
printf("\n\n");
printf("\tCount Vowels,Consonants, and Digits in C");
printf("\n\n");
const char input[] = "Jake Pomperada, 42 years old and 173 cm tall.";
printf("\t%s", input);
printf("\n\n");
do_stats(input, sizeof(input), &stat);
print_stats(&stat);
printf("\n\n");
system("pause");
}
Write a
program in Java that will ask the user to input three numbers and then the
program will find the total sum of three numbers given by our user.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
addition_of_three_numbers.java
/**
* @author Jake Rodriguez Pomperada,MAED-IT, MIT
* www.jakerpomperada.com www.jakerpompomperada.blogspot.com
* jakerpomperada@gmail.com
* Bacolod City, Negros Occidental Philippines
*
*/
import java.util.Scanner;
public class addition_of_three_numbers {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan = new Scanner(System.in);
System.out.println();
System.out.println("===== Addition of Three Numbers in Java =====");
System.out.println();
System.out.print("Enter First Number : ");
int a = scan.nextInt();
System.out.print("Enter Second Number : ");
int b = scan.nextInt();
System.out.print("Enter Third Number : ");
int c = scan.nextInt();
int sum = (a+b+c);
System.out.println();
System.out.print("The sum of "+ a + " , " + b + " and "
+ c + " is " + sum + ".");
System.out.println("\n\n");
System.out.println("===== END OF PROGRAM =====");
System.out.println();
}
}
In this tutorial I will share to you guys how to create a PHP program to ask the user to give a distance in centimeter, and convert it into meters, and kilometres. I hope you will find my work useful.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
style.css
*,
html {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Calibri", sans-serif;
background: #e2e1e0;
color: #111;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
main {
-webkit-transform: skewY(8deg);
transform: skewY(8deg);
background: #fff;
border: 8px solid #2196f3;
border-radius: 20px 40px 20px 40px;
}
.container::before {
position: absolute;
}
.container {
-webkit-transform: skewY(-8deg);
transform: skewY(-8deg);
padding: 50px 40px;
min-width: 530px;
text-align: left;
}
h1 {
margin: 0;
line-height: 1.2;
text-align: center;
}
h2 {
margin: 0 0 30px;
font-size: 22px;
text-align: center;
}
.txtbox {
display: inline-block;
background: #eee;
width: 100%;
margin: 0 0 8px 0;
padding: 15px;
border: none;
font-size: 15px;
}
.txtbox:focus {
background: #f1f1f1;
outline: none;
}
.block {
display: block;
width: 100%;
padding: 10px 0;
margin-bottom: 10px;
}
.block .radioblock {
width: 100px;
display: inline-block;
}
.block label {
cursor: pointer;
}
button {
display: block;
background: #2196f3;
color: #fff;
padding: 10px;
font-size: 15px;
width: 100%;
opacity: 0.9;
outline: none;
text-transform: uppercase;
border: none;
text-decoration: none;
text-align: center;
border: none;
margin-bottom: 10px;
}
button:hover {
opacity: 1;
}
.result {
padding: 10px;
font-size: 20px;
background: #eee;
text-align: center;
font-weight: bold;
}
I created this video to demonstrate how to create multi line message box using Microsoft Visual Basic NET.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
MsgBox("This program was created by" & vbCrLf & vbCrLf & _
"Mr. Jake Rodriguez Pomperada, MAED-IT, MIT" & vbCrLf & vbCrLf & _
"www.jakerpomperada.com and www.jakerpomperada.blogspot.com" & vbCrLf & _
"jakerpomperada@gmail.com" & vbCrLf & "Bacolod City, Negros Occidental Philippines.", vbInformation, "About this Program")
TxtUsername.Focus()
End Sub