User Profile
Collapse
-
Yes it complied and ran successfully... -
-
NumberFormatExecption
I'm not familiar with Exception Handling and I don't know where to start. Im suppose to write a program with an exception handler that deals with non-numeric operands; then write another program without using an exception handler to achieve the same objective. My program should display a message that informs the user of the wrong operand type before exiting.
Here's what I got so far:
[CODE=java]public class Calculator... -
Creating multiple windows from an applet
I'm suppose to write an applet that contains two buttons Investment calculator and Loan Calculator. When the Investment Calculator button is clicked, a frame appears in a new window for calculating future investment values. When you click Loan Calculator button, a frame appears in a separate new window for computong loan payments.
Here's my coding:
// Lab3.java:
import java.awt.*;
import java.awt.event. *;... -
If you have any more advice or examples to give on the topic please do I need all the help there is....Leave a comment:
-
How do I go about checking to see if the parameters are valid, do I have to do if statements to find that out or what?...Leave a comment:
-
Code and test a class for the date: Please help
I'm having a little trouble will my coding, I'm suppose to set the methods with three parameters that returns a bool. Next assign the parameter to the properties and return a true if all three parameters are valid. Then assign zeros to the porperties and return a false if any/all of the parameters are invalid.
1st parameter represents the month number (1-12)
2nd parameter represents the day of month, day must be valid based... -
Reformat file input/output
I have to write a program that will reformat the data files given to me and create a new data file for each city. The desired output would be the cities name followed by the year( fixed four digits), monthly rainfall-12 months(Jan-Dec), and total rainfall for that year(4 digit). In order to format the year I must drop the first 6 months of the first year and the last six months of the last year. Because its formatted as July through June. I don't...
No activity results to display
Show More
Leave a comment: