Results 1 to 2 of 2
  1. #1
    k-wurx is offline Member
    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    0

    Default Java program for school

    HI guys i Need help for java program I am from civil background with zero programming Knowledge but my brother need java program for school assignment ( I know its bit odd but please help)

    Write a JAVA program using switch statement and if else

    Topic of program-Quiz

    display 5 subjects
    English maths science computer and GK
    ask the user to enter his choice(to choose a subject)

    For each subject display 5 questions with for option each
    if answer 1 is wrong then user will get disconnected
    if 2 3 4 is wrong let him continue
    Display a message write or wrong after each question
    keep the scorer which increments every time an answer is correct
    display the final score after the end of the 5 questions

    Just give any question or write for two subject will cover the rest
    thanks in advance

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,574
    Rep Power
    12

    Default Re: Java program for school

    Please ask a specific question to avoid giving the impression that you are dumping your homework here.

    It doesn't matter how broken your code is, posting it helps a lot to let others know where you are coming from. A description of what is gong wrong (a compiler message you can't understand, a runtime exception or output from the program that isn't what you expected or intended) is also very helpful in describing both the problem and your current thinking.

Similar Threads

  1. School program GUI output problem
    By nanderson05 in forum New To Java
    Replies: 1
    Last Post: 06-08-2012, 02:54 AM
  2. Payroll program.. School.. Help Please!
    By eddyb5 in forum New To Java
    Replies: 2
    Last Post: 06-05-2011, 06:49 PM
  3. Replies: 3
    Last Post: 09-26-2010, 05:21 AM
  4. School project: network program via java any ideas?
    By Sernomicus in forum New To Java
    Replies: 2
    Last Post: 12-07-2009, 04:46 PM
  5. Beginner Needs Help w/ Program for School
    By badness in forum New To Java
    Replies: 2
    Last Post: 11-24-2007, 08:51 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
  •