Posts
 
Reputation
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 #55.0K
~364 People Reached
Favorite Forums
Favorite Tags
java x 3

2 Posted Topics

Member Avatar for vbmore

this is one is more simple and better!! [CODE]import java.io.*; class insertion { public static void main() throws IOException { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br= new BufferedReader(isr); System.out.println("Please Enter the number of values"); int a=Integer.parseInt(br.readLine()); int age[]=new int[a]; int minelem=0, temp; System.out.println("Enter the VALUES"); for(int x=0;x<a;x++) { age[x]=Integer.parseInt(br.readLine()); …

Member Avatar for peter_budo
-1
242
Member Avatar for sc0field1

your Line 7 has a problem you have created an array which is a[500]; in which there is no VALUE and you are printing that instead of taking values so check that

Member Avatar for JamesCherrill
0
122

The End.