Search Results

Showing results 1 to 18 of 18
Search took 0.00 seconds.
Search: Posts Made By: newtechie ; Forum: Java and child forums
Forum: Java Sep 5th, 2008
Replies: 4
Views: 1,268
Posted By newtechie
i refined the code and now it reaches the end of file before printing the final value can anyone pls. help me out .

import java.util.*;
import java.io.*;
public class Fiveproducts1
{

...
Forum: Java Sep 4th, 2008
Replies: 4
Views: 1,268
Posted By newtechie
should we not use buffered reader for reading character,i have used datainput and dataoutput stream to read and write primitive data type.
if i am wrong correct me
Forum: Java Sep 3rd, 2008
Replies: 4
Views: 1,268
Posted By newtechie
i have a file from which i have to read and compute the total value of all items,i dont know what methodto use to read arrays
i tried DataInputStream(object).readInt(quantity[]); but it says it is...
Forum: Java Sep 2nd, 2008
Replies: 4
Views: 5,729
Posted By newtechie
i modified the count word part and got the desired output

/*
pgm to count the characters in a file,no. of lines in a file and no. of words
*/
import java.io.*;
public class countCharacters ...
Forum: Java Sep 1st, 2008
Replies: 4
Views: 5,729
Posted By newtechie
thanks alex edwards the character part is working along with no. of lines but the no. of words seems to give a wrong output.
can you guide me in that
thanks in advance
Forum: Java Aug 30th, 2008
Replies: 4
Views: 5,729
Posted By newtechie
i did a codig to find the no. of words,no. of characters and no. of lines in a file i was not getting the output, can anyone help me

import java.io.*;
public class countCharacters
{
...
Forum: Java Aug 20th, 2008
Replies: 2
Solved: Barchart
Views: 519
Posted By newtechie
i changed the code and it works now
Forum: Java Aug 20th, 2008
Replies: 2
Solved: Barchart
Views: 519
Posted By newtechie
i have a problem in getting the required display in barchart

my intended display is

year91 -------------- 110

but i get a display as

year91 -------------- year91
Forum: Java Jul 31st, 2008
Replies: 6
Views: 1,725
Posted By newtechie
hi thyagi, i could not understand the if part



how you got those values for and b
pl. clarify
Forum: Java Jul 31st, 2008
Replies: 6
Views: 1,725
Posted By newtechie
thanks tyagi it works.
Forum: Java Jul 31st, 2008
Replies: 6
Views: 1,725
Posted By newtechie
i was trying to write a code for counting the number of ocurence of a particular word from a sentence.it gives me a wrong output it starts checking for the same alphabets in the sentence rather than...
Forum: Java Jul 31st, 2008
Replies: 6
Views: 5,660
Posted By newtechie
Forum: Java Jul 30th, 2008
Replies: 6
Views: 5,660
Posted By newtechie
i have a similar problem where i have to find the number of occurences of a particular word from a sentence, i tried the code but it even counts the words which have those alphabets partly. can...
Forum: Java Jul 28th, 2008
Replies: 2
Views: 2,050
Posted By newtechie
thank you EZZARAL i tried that and it works now.
Forum: Java Jul 28th, 2008
Replies: 8
Views: 945
Posted By newtechie
yes and i also tried a new coding which helped.





public class Exam3
{
public static void main(String args[])
{
Forum: Java Jul 28th, 2008
Replies: 2
Views: 2,050
Posted By newtechie
hi i have a doubt i did this coding and when i complied it and tried to run the program evenupon giving the correct answer("ritchie") the output i got says answer is wrong.
can anyone tell me what...
Forum: Java Jul 25th, 2008
Replies: 8
Views: 945
Posted By newtechie
thank you all for your replies
Forum: Java Jul 24th, 2008
Replies: 8
Views: 945
Posted By newtechie
i am new to java and i was trying to solve a program,
a) i wanted to print marks scored by 3 students in 3 subjects.
b) i wanted to get the total marks scored by each student and find out the...
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC