No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi Daniweb team, I need to understand newinstance in java.I do no how to implement it and i tried this program but getting some errors. 1.Can anyone tell me how to use new Instance and what mistakes i have made in this program.? [code] import java.io.*; public class sample { … |
|
Re:
i am vani doing 3rd year. i need to do a mini project. so i need a topic for suggestion. please do help me. |
|
Hello all, I am new here and fairly new to java and programming in general. I decided to make a little color chooser hoojie for fun (jar file attached), but it is tremendously slow. Partly it is my fault (code def not perfect..) but when I checked what was taking … |
|
Re:
[code]import java.io.*; class Ex33 { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter a number"); String input; input=console.readLine(); int n1; n1=Integer.parseInt(input); double sum; int LessThanAv; for(count=0;count<100;count++) { sum=(n1+sum)/count; System.out.println("Please enter the next number"); } while(n1<sum;) { System.out.println(n1); } } }[/code] |