Visitors

Google PageRank Checker
Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Monday, December 13, 2010

Simple VB Library System

Recently I have created a very simple Library System using Visual Basic 6 programming language. I thought I could share this project of mine for reference of students who want to learn Visual Basic.

In this project, the due date is not working. You may have to figure it out how to make it work. You just have to add the code.

Here are some screenshots of the project:

Login screen note: username is "pjb" and password is "ok" without the quotes.





To download the project, click download below
If you have questions, feel free to ask, thank you.

Thursday, December 9, 2010

Simple Java Program - String Reverse using charAt - Java

Below is a source code for java. This Java program is very simple and basic. Reverse the string input by user using charAt. Enjoy!!!

//file begins here, save it as reverse.java
import java.io.*;
public class reverse
{
public static void main(String[]args) throws IOException
{
BufferedReader get = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter your name: ");
String name = get.readLine();
balihon(name);
}
public static void balihon(String g)
{
String reverse;
reverse = "";
for(int i = g.length()-1; i >= 0; i--)
{
reverse = reverse + g.charAt(i);
}
System.out.println("\n" + reverse);
}
}
//program ends here...