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
Monday, April 24, 2023
String Palindrome Using Method in Java
A program that will ask the user to give a string and then the program will check if the given string a palindrome or not using a method in Java 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 Listingimport java.util.Scanner; public class Main { public static boolean isPalindrome(String str) { int length = str.length(); for (int i = 0; i < length / 2; i++) { if (str.charAt(i) != str.charAt(length - i - 1)) { return false; } } return true; } public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println(); System.out.print("\tString Palindrome Using Method in Java\n\n"); System.out.print("Enter a string: "); String input = scanner.nextLine(); scanner.close(); System.out.println(); if (isPalindrome(input)) { System.out.println(input + " is a palindrome"); } else { System.out.println(input + " is not a palindrome"); } } }
Sunday, April 23, 2023
Saturday, April 22, 2023
Square a Number Using Function in Pascal
A program that will ask the user to give a number and then the program will square the given number using a function in 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 squareFunction;
function square(num: integer): integer;
begin
square := num * num;
end;
var
num, result: integer;
begin
writeln;
write('Square a Number Using Function in Pascal');
writeln;
writeln;
write('Enter a number to square:');
readln(num);
result := square(num);
writeln('The square of ', num, ' is ', result);
end.
Friday, April 21, 2023
String Palindrome in Kotlin
A program to ask the user to give a string and then the program check if the given string is a palindrome or not using Kotlin 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
fun main() {
print("Enter a word: ")
val input = readLine()?.lowercase()
if (input == input?.reversed()) {
println("$input is a palindrome")
} else {
println("$input is not a palindrome")
}
}
Thursday, April 20, 2023
Wednesday, April 19, 2023
Subtract Two Numbers in Kotlin
A program to subtract two given numbers using Kotlin 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 Listingfun main(args: Array<String>) {
val num1 = 50
val num2 = 10
val result = num1 - num2
println("The result of subtracting $num2 from $num1 is $result")
}
Monday, April 17, 2023
Sunday, April 16, 2023
Lower Case Vowels in C++
A program that will ask the user to give a string and then the program will lower case the vowels in the given string 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#include <iostream> #include <string> #include <cctype> using namespace std; int main() { string input; cout << "\n\n"; cout << "\tLower Case Vowels in C++\n\n"; cout << "Enter a string: "; getline(cin, input); for(int i = 0; i < input.length(); i++) { char c = input[i]; if(isupper(c) && (c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U')) { input[i] = tolower(c); } } cout << "\n\n"; cout << "Modified string: " << input << endl; return 0; }
Saturday, April 15, 2023
Upper Case Vowels in C++
A program that will ask the user to give a string and then the program will uppercase the vowels in the given string 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
#include <iostream>
#include <string>
#include <cctype>
using namespace std;
int main() {
string input;
cout << "\n\n";
cout << "\tUpper Case Vowels in C++\n\n";
cout << "Enter a string: ";
getline(cin, input);
for(int i = 0; i < input.length(); i++) {
char c = input[i];
if(islower(c) && (c == 'a' || c == 'e' || c == 'i'
|| c == 'o' || c == 'u')) {
input[i] = toupper(c);
}
}
cout << "\n\n";
cout << "Modified string: " << input << endl;
return 0;
}