I would like to create a class for finding the voltages of 1, 2 or even 4 batteries. The Class can be called BatteryVoltage with a default voltage value of 1.5 (AA Battery)
Must allow the user to find the total voltage of batteries when installed as a single,double, or quadruple set.
Must be able to set the voltage to calculate
Must input the kind of battery (String name)
jordan.nunnery.75
0
Newbie Poster
Recommended Answers
Jump to Postgood luck.
And the question?
Jump to PostWell, then, that's quite a problem. What have you tried so far? Did the instructor provide all of the necessary information for you to compute the voltages? Have you discussed the matter with the instructor?
Jump to Postwell, then you've had 2 days to learn the tiny bit of Java and physics you need.
I assume you've used that time to do that?If not, why not?
All 9 Replies
jwenting
1,889
duckman
Team Colleague
jordan.nunnery.75
0
Newbie Poster
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
jordan.nunnery.75
0
Newbie Poster
jordan.nunnery.75
0
Newbie Poster
jordan.nunnery.75
0
Newbie Poster
jordan.nunnery.75
0
Newbie Poster
jwenting
1,889
duckman
Team Colleague
samson.dadson.3_1
0
<blitz>
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.