Do you want to design website or a system?
Hi... My Name is Mohamad Fikri Bin Ramlan.
I'm a web designer and also a system developer.
If anyone want me to design a website or develop a system. You can send your request to my email: he.thumb@gmail.com or my facebook: Facebook.
My Work #1 - Kobemas System
This system use to store and update customer information. it also have search capability based on criteria inserted. it also provide report and statistical information
My Work #2 - Perpustam website

This screenshot show a library website front page which contain feature item column and other basic features of a website. This website also support multilingual and help features. Its develop using wordpress as platform.
My Work #3 - Micth website

This is a screenshot of a website that I and other staffs working on during my practical training At Micth. This the company website which build using wordpress as platform.
java base converter (incomplete)
This is a java program that convert a number in decimal to another base.
Because it still incomplete, it can only convert to base 2 until 9.
*/
//Author: Muhammad Amir Zaki Bin Zainal Alam
import java.util.*;
public class Decimal_To_Converter
{
public static void main(String args[])
{
String ans = "", ans2 = "A";
int num, num2, num3=0, base, from;
Scanner scanner = new Scanner(System.in);
//System.out.print("Enter number's base : ");
//from = scanner.nextInt();
System.out.print("\nEnter number in base entered : ");
num = scanner.nextInt();
System.out.print("\nEnter base to convert to : ");
base = scanner.nextInt();
num3 = num / base;
if (base > 0 && base < 11 && num > base && num != base)// && base > from)
{
if(num>0)
while (num / base != 0)
{
ans = (num % base) + ans;
num = num / base;
}
ans = num + ans;
}
// else if (base > 0 && base < 11 && num > base && from > base)
//{
// if(num>0)
// while (num /
/*else if (base > 10 && base < 17)
{
while (num / base != 0)
{
if(num % base > 9)
{
if (num3 == 10)
ans2 = "A";
if (num3 == 11)
ans2 = "B";
if (num3 == 12)
ans2 = "C";
if (num3 == 13)
ans2 = "D";
if (num3 == 14)
ans2 = "E";
if (num3 == 15)
ans2 = "F";
ans = ans2 + ans;
}
else
ans = (num % base) + ans;
System.out.print(num3 + " ");
num = num / base;
if (num % base > 9)
ans = ans2 + ans;
else
ans = (num % base) + ans;
}
}*/
System.out.print("\nAnswer : " + ans);
}
}
No comments:
Post a Comment