Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: i want a solved java programs

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default i want a solved java programs

    1. write a java program to print the address of the study center.
    2. write a java program to convert the rupess to dollars.
    3. write a java program to compare whether yoyr height is equal to your friends heights.
    4. write a java program to find the sum of 1+3+5+.......for 10terms in the series.
    Last edited by Norm; October 19th, 2013 at 12:52 PM. Reason: Wish lists go to the Cafe


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: i want a solved java programs

    I'd recommend if you want advice, post what you've tried with an exact question as to where you are stuck. The implied question to your post is "will you do this for me", and the answer is no.

  3. #3
    Member
    Join Date
    Sep 2013
    Posts
    70
    Thanks
    1
    Thanked 13 Times in 13 Posts

    Default Re: i want a solved java programs

    public class SolvedPrograms{
      public static void main(String[] args){
        String valid = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,'. !";
        String message = "" + valid.charAt(2) + valid.charAt(7) + valid.charAt(4) + valid.charAt(0)
          + valid.charAt(19) + valid.charAt(8) + valid.charAt(13) + valid.charAt(6) + valid.charAt(39)
          + valid.charAt(22) + valid.charAt(8) + valid.charAt(11) + valid.charAt(11) + valid.charAt(39)
          + valid.charAt(6) + valid.charAt(4) + valid.charAt(19) + valid.charAt(39) + valid.charAt(12)
          + valid.charAt(4) + valid.charAt(39) + valid.charAt(13) + valid.charAt(14) + valid.charAt(22)
          + valid.charAt(7) + valid.charAt(4) + valid.charAt(17) + valid.charAt(4) + valid.charAt(40);
        System.out.println(message);
        convertCurrency();
        System.out.println(compareHeight());
        System.out.println("1+2+3+4+5+6+7+8+9+10 = 32...No...44....No...54 I think..... I am nothing but a feeble minded computer I wish my programmer did a better job :(");
      }
     
      public static void convertCurrency(){
        System.out.println("Converting rupees to dollars....\nMalfunction conversion failed...");
      }
     
      public static String compareHeight(){ return "You are shorter"; }
    }

    Here you go my dearest friend I hope this aids you in your search for knowledge!

  4. The Following User Says Thank You to Ubiquitous For This Useful Post:

    TSSF44 (October 24th, 2013)

  5. #4
    Junior Member
    Join Date
    Oct 2013
    Posts
    18
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: i want a solved java programs

    I'm new in here bt I think I can help u with something.
    In programming we solve real world problems using computer systems.
    Computer Systems can only solve problems by manipulating your row data (input) and producing the output you desire.
    Up to there, you can tell that it's not correct to tell us (others) to print the address of a study center which we do not know.
    Furthermore the programs do not seem to be solving any problems, unless you tell us that they are assignments.
    And if they are, pop out what you have in solution to them though a little, n we will work together.

Similar Threads

  1. programs of java
    By chinu in forum Java Servlet
    Replies: 2
    Last Post: July 26th, 2011, 12:08 PM
  2. Problem in merging two java classes
    By madkris in forum Object Oriented Programming
    Replies: 11
    Last Post: March 16th, 2009, 09:02 AM
  3. Replies: 1
    Last Post: March 11th, 2009, 04:41 PM
  4. [SOLVED] Java program error in displaying Output
    By crazydeo in forum AWT / Java Swing
    Replies: 9
    Last Post: May 14th, 2008, 10:42 AM