In this tutorial I share with you a CRUD program that I wrote using Go, HTML, CSS and MySQL I hope you will find my work useful.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
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 this tutorial I share with you a CRUD program that I wrote using Go, HTML, CSS and MySQL I hope you will find my work useful.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Here is a simple login system that I wrote using Go and MySQL I hope you will find my work useful.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
A simple program to ask the user to give a series of numbers and then the program will compute the difference between the largest and smallest number in C# programming language.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
// High_Low.cs
// Prof. Jake Rodriguez Pomperada,MAED-IT, MIT
// www.jakerpomperada.blogspot.com / www.jakerpomperada.com
// jakerpomperada@gmail.com
// Bacolod City, Negros Occidental Philippines
using System;
namespace exercises
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("\n");
Console.WriteLine("\tDifference between the largest and smallest value in C# ");
int[] arr = new int[10];
int small_num = 0, biggest_num = 0;
int i;
Console.WriteLine("\n");
Console.Write("\tInput 10 elements in the array :\n");
Console.WriteLine("\n");
for (i = 0; i < 10; i++)
{
Console.Write("\tGive value in Item No. {0} : ", (i+1));
arr[i] = Convert.ToInt32(Console.ReadLine());
}
if (arr.Length > 0) small_num = biggest_num = arr[0];
for ( i = 1; i < arr.Length; i++)
{
small_num = Math.Min(small_num, arr[i]);
biggest_num = Math.Max(biggest_num, arr[i]);
}
Console.WriteLine("\n");
Console.Write("\tThe difference is {0}. ", biggest_num- small_num);
}
}
}
A simple program to compute the average grade of the student with remarks that I wrote using C++ programming language.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
// general_average.cpp
// Author : Jake Rodriguez Pomperada,MAED-IT, MIT
// Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com
// Date : April 10, 2021 Saturday 9:30 AM
// Email : jakerpomperada@gmail.com
#include <iostream>
#include <string.h>
using namespace std;
// Prelim - 0.20, Midterm - 0.30, Finals = 0.50
int main()
{
int prelim=0, midterm=0,finals=0;
int solve_grade;
char subject[100];
cout <<"\n\n";
cout <<"\tGeneral Average Grade Solver With Remarks in C++";
cout <<"\n\n";
cout <<"\tSubject Name : ";
gets(subject);
cout <<"\tEnter Prelim Grade : ";
cin >> prelim;
cout <<"\tEnter Midterm Grade : ";
cin >> midterm;
cout <<"\tEnter Final Grade : ";
cin >> finals;
solve_grade = (prelim * 0.2) +
(midterm * 0.3) +
(finals * 0.5);
cout <<"\n\n";
cout << "\tSubject : " << subject;
cout <<"\n\n";
cout <<"\tYou general average grade is "
<< solve_grade <<".";
cout << "\n\n\n";
if (solve_grade >= 75) {
cout << "\tYou Passed the Subject this semester.";
} else {
cout << "\tYou Failed the Subject this semester.";
}
cout <<"\n\n";
cout <<"\tEnd of the Program";
}
Here is a simple inventory system in PHP that I wrote I hope you will like it.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
A simple program that I wrote in C++ to save a text file I hope you will find my work useful.
#include <iostream>
#include <fstream>
using namespace std;
main() {
ofstream myfile("test.txt");
myfile << "Saving a Text in a Text File in C++";
myfile.close();
}
A simple program quick sort in C++ program that I wrote while I am learning C++ programming.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
// quick_sort.cpp
// Prof. Jake R. Pomperada, MAED-IT, MIT
// www.jakerpomperada.com / www.jakerpomperada.blogspot.com
// jakerpomperada@gmail.com
// Bacolod City, Negros Occidental Philippines
#include <iostream>
#include <cstdlib>
using namespace std;
void swap_numbers(int *a, int *b)
{
int temp;
temp = *a;
*a = *b;
*b = temp;
}
int Partition(int a[], int low, int high)
{
int pivot, index, i;
index = low;
pivot = high;
for(i=low; i < high; i++)
{
if(a[i] < a[pivot])
{
swap_numbers(&a[i], &a[index]);
index++;
}
}
swap_numbers(&a[pivot], &a[index]);
return index;
}
int RandomPivotPartition(int a[], int low, int high)
{
int pvt, n, temp;
n = rand();
pvt = low + n%(high-low+1);
swap_numbers(&a[high], &a[pvt]);
return Partition(a, low, high);
}
int QuickSort(int a[], int low, int high)
{
int pindex;
if(low < high)
{
pindex = RandomPivotPartition(a, low, high);
QuickSort(a, low, pindex-1);
QuickSort(a, pindex+1, high);
}
return 0;
}
int main()
{
int n=0, i=0;
cout <<"\n";
cout <<"\t\tQuick Sort in C++";
cout <<"\n\n";
cout<<"\tHow many items to be sorted? ";
cin>>n;
int arr[n];
for(i = 0; i < n; i++)
{
cout<<"\tEnter item no. "<<i+1<<": ";
cin>>arr[i];
}
cout <<"\n";
cout<<"\tUnSorted Items\n ";
cout <<"\n";
cout <<"\t";
for (i =0; i < n; i++) {
cout<<" ,"<<arr[i];
}
cout <<"\n";
QuickSort(arr, 0, n-1);
cout <<"\n\n";
cout<<"\tSorted Item \n";
cout <<"\n";
cout <<"\t";
for (i = 0; i < n; i++) {
cout<<" ,"<<arr[i];
}
cout <<"\n\n";
cout <<"\tEnd of Program";
cout <<"\n";
}
A simple program that will ask the user to give a number and then the program will generate the asterisk triangle using Java programming language.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Program Listing
/* Asterisk.java
* Author : Jake Rodriguez Pomperada, MAED-IT, MIT
* April 5, 2021 8:13 PM
* www.jakerpomperada.blogspot.com
* www.jakerpomperada.com
* jakerpomperada@gmail.com
* Bacolod City, Negros Occidental
*/
import java.util.Scanner;
public class Asterisks {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println();
System.out.print("\tAsterisk Triangle in Java");
System.out.println("\n");
System.out.print("\tEnter a number: ");
int number = scan.nextInt();
int res;
System.out.println("\n");
for (int a=1; a<=number; a++) {
System.out.print("\t");
res = number - a;
for (int b=0; b<=res;b++) {
System.out.print("*");
}
System.out.println("");
}
}
}
Machine Problem
Create and design a program that will ask the amount from the user and then our program will count how many one thousand, five hundred, two hundred, one hundred, fifty and twenty bills based here in the Philippine currency.
My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Machine Problem
Create and design a program that will ask the user to give two numbers and then the program will compute the sum and product of the given numbers and display the results on the screen.