Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
What is the problem here please :'( [code]import java.math.*; import javax.swing.*; public class Q5 { public static void main(String []args) { double n; String Output=""; int t=0; int supervisingyears=0; for(t=0;t<=25;t++) { n=220/(1+10 * math.pow(0.83,t)); if (n<80) supervisingyears++; output=output+"\n Number of Supervising Years"+supervisingyears+"\n"; JOptionPane.showMessageDialog(null,output); } } }[/code] |