Page 1 of 9 1234 ... LastLast
Results 1 to 10 of 82

Thread: java problem..

  1. #1

    Default java problem..


    hinaot matabangan ko ninyo ani nga mga problema kay murag nakutaw na ako utok

    mao ni ang problem mga master...

    1. write a program that prompts the user to input an integer and then outputs the number with the digits reversed. ex. if the input is 12345, the output should be 54321.the program must also output 5000 as 0005 and 980 as 089.

    2.Write a program that uses while loops to perform the following steps:
    a. Prompts the user to input two integers: firstnum and secondnum.(firstnum must be less than
    secondnum).
    b. output all the odd numbers between firstnum and secondnum inclusive.
    c. output the sum of all the even numbers between firstnum and secondnum inclusive.
    d. output all the numbers and their squares between 1 and 10.
    e. output the sum of the squares of all the odd numbers between firstnum and secondnum inclusive.
    f. output all the uppercase letters.

    mao na sila ang problems...hinaot unta nga matabangan ko ninyo...
    i need suggestions and techniques on how to solve these problems and explanations.kay galisod jud ko ani..
    kung ok ra ninyo i apil nalang ang codes.

    daghang salamat..

  2. #2
    unsa buot pasabot sa problem 2F?

  3. #3
    i output ang english alphabet letters in capital...

  4. #4
    wa kay existing code?

  5. #5
    wala raba...kay galibog pod ko unsaon pag start sa ako expression

  6. #6
    bro sayon ra man kaayo ni i-solve imong problem... pero pwede mo-exert kag gamay nga effort... show some codes bahala ug sayop.. promise tabangan tkaw kung di man gani motabang ang uban.

  7. #7
    lahi bai ang patabang ug pa himu.on tah.... just post your code on what you know then we will help you. if dli jud mada basig naay istoryan diri maka post ug pseudo code.. thanx.

  8. #8
    cge i post nya nako akong code..

  9. #9
    Elite Member
    Join Date
    Jun 2010
    Gender
    Male
    Posts
    1,018
    Hint lang...

    Character.isUpperCase(sample); \\put sample character here and if it is upper case it will return true

    A better hint

    if( Character.isUpperCase( sampleCharacter) ){
    System.out.print(sampleCharacter);
    }

    I could finish it...but then spoon-feed na and you wouldn't learn anything. Masuko nya ang uban...hehehe

    Good Luck!

  10. #10
    Show your logic, flow chart or algorithm.. we can work things out by then.

    it'll show us that you've understood the problem and we can teach/tutor you on how to code it.

    if you can, show also a simple code:
    Input a number and output the square to console (system line), in java.

    para dali ra pud ka kahibaw unsaun ning problem sa taas imu gi-hatag.
    it is the first step anyways..

    RESEARCH, GOOGLE and Practice Coding.. that's how to learn..

  11.    Advertisement

Page 1 of 9 1234 ... LastLast

Similar Threads

 
  1. java - stack() problem
    By akocdiego in forum Programming
    Replies: 12
    Last Post: 07-08-2013, 10:43 PM
  2. Help! Decimal to Binary problem in JAVA. (Beginner)
    By Wordless in forum Programming
    Replies: 7
    Last Post: 10-12-2012, 11:13 AM
  3. Replies: 16
    Last Post: 04-21-2012, 11:26 PM
  4. Got Java, PHP, C, MySQL problem?
    By abstracted in forum Programming
    Replies: 11
    Last Post: 06-25-2010, 09:36 PM
  5. java array problem
    By skeptic_rob in forum Programming
    Replies: 14
    Last Post: 06-11-2010, 03:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top