Search:

Type: Posts; User: Ricky Buen

Page 1 of 2 1 2

Search: Search took 0.11 seconds.

  1. Getting an hourly job as a freelance programmer?

    Is there any freelance related programming job where I could get paid by the hour. These past entire months, i've been working on a few projects on my own (mainly building a forum and eCommerce...
  2. Replies
    3
    Views
    1,300

    Re: need help understanding code

    Ah, I see now. Thanks

    --- Update ---

    I have one more question (I don't want to create another thread since it is basically more on understanding the code)

    This is the same code, but added...
  3. Replies
    3
    Views
    1,300

    need help understanding code

    So I am studying how to build android apps by myself and I am stuck trying to understand some of the life of codes for this particular code:



    package com.ebookfrenzy.javalayout;

    import...
  4. Thread: SSD or HDD?

    by Ricky Buen
    Replies
    1
    Views
    467

    SSD or HDD?

    I am currently using an SSD where the windows OS is stored and all my other applications. Before, I didn't use my computer that much other than browsing the internet, but now, I am doing a lot of...
  5. Re: JDK and JRE is not recognized on separate account.

    But when I had the PATH and CLASS variables, both ran fine on my administrator account. But on the AndroidWorkshop account, it did not recognize, or could not find the JDK or JRE
  6. Re: JDK and JRE is not recognized on separate account.

    Strange, I put the JDK link from my program files and pasted it into both the PATH and CLASS variable





    It was from a long time ago (I don't exactly remember when), but it was when I...
  7. Re: JDK and JRE is not recognized on separate account.

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\AndroidWorkshop>SET
    ALLUSERSPROFILE=C:\ProgramData...
  8. Re: JDK and JRE is not recognized on separate account.

    Windows 7


    My administrator account and android user account are using the same environmental variables. But when I put 'javac' on the command prompt of my administrator account, it says a bunch...
  9. JDK and JRE is not recognized on separate account.

    I recently make a new windows user account for the sole purpose of building android apps (to keep everything organized). The problem is, when I installed the JDK and JRe and set the paths in the...
  10. Replies
    2
    Views
    593

    BMI Calculator, problem with output

    Write a Java program to compute body mass index (BMI).



    Test Data
    Input weight in pounds: 452
    Input height in inches: 72


    Expected Output:
  11. Re: Write a Java program to calculate the modules of two numbers without using any inbuilt modulus operator.

    IDK where that ying yang symbol came from. I mean't the percent symbol, not this random yin yang symbol :confused:
  12. Re: Write a Java program to calculate the modules of two numbers without using any inbuilt modulus operator.

    For my first code, I just did 19%7 and it gave me 5. However, I'm not really understanding what's going on in my second code, where I have to find the modulus of two numbers without using the modulus...
  13. Write a Java program to calculate the modules of two numbers without using any inbuilt modulus operator.

    I have two codes for this one, the first one using the modulus operator and the second one not using the modulus operator


    //Using the modulus operator.
    import java.util.Scanner;



    class...
  14. Write a Java program that accepts an integer (n) and computes the value of n+nn+nnn.

    import java.util.Scanner;

    class RicMain
    {
    public static void main(String[] args)
    {
    Scanner ip = new Scanner(System.in);
    int n, m;

    System.out.print("Input number: ");
  15. Write a Java program to count the letters, spaces, numbers and other characters of an input string.

    import java.util.Scanner;

    public class RicMain
    {
    public static void main(String[] args)
    {
    String test = "Hello World, it is me";
    count(test); //sets x = test?
    ...
  16. Re: Write a Java program to reverse a string

    toCharArray() basically converts a string into an array, right? (I did not look at the link you showed me yet)
  17. Write a Java program to reverse a string

    import java.util.Scanner;

    class RicMain
    {
    public static void main(String args[])
    {
    {
    Scanner rc = new Scanner(System.in);

    System.out.print("Input a string:...
  18. Re: Compute the distance between two points on the surface of earth

    There was a mistake in the formula. It was suppose to be arccos, not arctan. I did that by accident. I made two new classes, the first one has the fixed formula with the degrees to radian conversion,...
  19. Re: Compute the distance between two points on the surface of earth

    Yes, that was what I was thinking. I was unsure at first if my output was in degrees or radians by default. So how would I do the conversions?
  20. Compute the distance between two points on the surface of earth

    I wanted to know if my code for finding the distance between two points on the surface of Earth is correct. I had to research online and found the formula for the great circle distance formula for...
  21. Write a Java program and compute the sum of the digits of an integer.

    I need help with a program where I have to find the sum of the digits of an integer.

    For example, for the integer 32, the sum of the digits of the integer is: 3+2 = 5
    Or, for the integer 321,...
  22. Re: Write a Java program to swap two variables.

    So now I rewrote my code. How does it look?

    Input:


    class RicMain
    {
    public static void main(String args[])
    {
    int x = 10;
  23. Re: Write a Java program to swap two variables.

    This is how I would think about it (maybe its not the right way of thinking, maybe it is, I don't know)
    Say you have two eggs: one egg in your left hand, the other egg in your right hand. Say you...
  24. Re: Write a Java program to swap two variables.

    By "swapping variables", I mean exchanging the values of the variables. I don't know the exact method to swap two variables, these codes are the best thing I can do.
  25. Write a Java program to swap two variables.

    Not sure where to post this question since its my first time on this forum. But I wanted to see if my code for swapping two variables is correct or if there is another way:

    I did mines two ways:
    ...
Results 1 to 25 of 26
Page 1 of 2 1 2