• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help!! Please, need major help writing program!

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I need to write a java program that will a person to take a quiz. They will be able to choose from two subjects (math or english) they will have 3 questions,
Math
1. What is 60 divided by 12?
2. What is 4 times 2?
3. What whole number does 28/7 represent?
answers are
a. 4
b. 5
c. 8
English
1. The word dog is a ____?
2. The word jump is a ____?
3. The word red is a ____?
answers are
a. noun
b. verb
c. adjective
When a student correctly answers a question they should receive positive feedback. At the end of the quiz the number of correct answers should be displayed.
I am just learning java and know that I need to have question and answer objects, but am pretty lost after that,please help.
Thanks in advance for any help!
Stephanie
 
Author
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well post some code and we will help you through it. We are not going to write the program for you however.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic