ArcMedia JavaScript Source Code 3000 Pro (gar448) for PC Logo
Posted on Sep 09, 2008
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

Source code for word count

A java programming code about word count.

...pls write a one-dimentional array that will accept numbers from 1 to n and will count the number of words in a given sentence...for example

Enter String value: The quick brown fox jumps

No. of words: 5

  • Anonymous Jan 08, 2009

    help me how to create a number to word programm in java because this i my project..

×

2 Answers

Anonymous

Level 1:

An expert who has achieved level 1.

  • Contributor 1 Answer
  • Posted on Jan 08, 2009
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Joined: Jan 08, 2009
Answers
1
Questions
0
Helped
245
Points
1

How to create a program number to word up tp 3000

  • Anonymous Jan 08, 2009

    i dont have idea on that so thats why i need your help

×

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

  • Expert 118 Answers
  • Posted on Sep 09, 2008
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

Joined: Jan 21, 2008
Answers
118
Questions
1
Helped
63916
Points
293

Haha, i wrote one of thee a while ago for a competition. You need to us e the char at function mate :D
Inside a for loop
Ill havea look for you though :D

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How can I format a java string using a width variable?

The Entities in java are slightly different. I adore them being included (finally).

float bigNum = 123456.789012;

String pattern = String.format( "%10.2f is my magic number%n", bigNum);

System.out.println( pattern);

or

System.out.println(

String.format( "%10.3f", bigNum) );

the "decimal place" is the rounding.

lead off with a zero to get leading zeroes

String.format("%03.2f", bigNum));

if I want evenly spaced columns, I have to construct an Object[] array

array[0] = salaryAmt;

array[1] = hourly Rate;

array[2] = "Cowboy Bob";

System.out.println(

"%5.2f,%3.2d,%s%n, array);

Here you will get more information about java string format.

0helpful
1answer

Make a program that will accept tthe size of an array (number must be greater than). Enter and fill the array with numbers then sort in descending order (largest to smallest). Display the unsorted and...


coding in C++

#include<iostream.h>
#include<conio.h>
#define max 50

void main()
{
clrscr();
int arr[max],size=0;
int i=0,j=0,temp;
do
{
cout<<"Enter the size of array(less than or equal to 50)";
cin>>size;
} while(size>50);

for(i=0;i<size;i++){
cout<<"Enter a number";
cin>>arr[i];
}


for( i=1;i<size;i++){
for(j=0;j<size;j++){
if(arr[j+1]>arr[j]){
temp = arr[j];
arr[j] = arr[j+1];
arr[j+1] = temp;


}

}
}
cout<<”Array in descending order”;
for(i=0;i<size;i++){
cout<<arr[i]<<"\n";
}
getch();
return 0;
}
0helpful
2answers

Merging two arrays and sort them

NEED A NEW KEY THE ONE ON THE BOX WONT WORK
0helpful
1answer

I am java beginner and I want a help in writing a java program to calculate the variance for an array of numbers

the best thing to do here is to separate the steps for calculating the variance into different functions. To compute the variance the first thing to do is to compute the mean or the average of the numbers in the array. so your first function will loop through each of the numbers and divide it by the length of your array. the output is the returned. The next thing to do is create another function for the variance. loop through each of the numbers again and subtract to each number the mean. square the value then add to the previous. so that means you have another variable that starts from zero and just adds the answer. after that divide it by the length of the array again and what you are going to get is the value for the variance.

0helpful
1answer
1helpful
1answer

I need java source code for chat application reply

Your answer is here:
Solution # 1
http://www.web-tech-india.com/software/jsp_chat.php

Solution # 2
http://www.topshareware.com/java-source-codes-for-chat-application/downloads/1.htm

Solution # 3
http://www.codeproject.com/KB/java/java_applet_chat_with_gui.aspx

Good luck
0helpful
1answer

To merge two arrays A and B in java source code.

Do you need them to be sorted after the merge and are they already sorted? If not, then what you can do is create a temporary third array which will set the half of third array equal to the first array, and then set the set half equal to the second array. If they need to be sorted, I can help too but you need to tell me

public class ArrayMerge
{
public static int arr1[] = new int [20];
public static int arr2[] = new int [20];

public static void main()
{
setScores(arr1);
setScores(arr2);
printScores(arr1);
printScores(arr2);
printScores(merger(arr1,arr2));
}

public static void setScores(int a[])
{
for(int x = 0; x<a.length; x++)
{
a[x]= (int)(Math.random() * 100)+1;
}
}

public static void printScores(int a[])
{
for(int x = 0; x<a.length; x++)
{
System.out.print(a[x] + " ");
}
System.out.println();
}

public static int[] merger(int a1[], int a2[])
{
int a3[] = new int [(a1.length + a2.length)];

for(int x = 0; x<a1.length; x++)
{
a3[x]=a1[x];
}

for(int x = 0; x<a2.length; x++)
{
a3[x+a2.length]=a2[x];
}
return a3;
}
}

17helpful
2answers

C++ program for insertion, deletion in linked list and 2d array pls send the details for linked list so that i can understand it the best..considering me as a beginner.

program for deletion


#include<iostream.h>
void main()
{
int a[10],i,n,x;
cout<<"\n\t\tPROGRAM TO DELETE AN NUMBER FROM AN ARRAY";
cout<<"\nEnter the size of the array:";
cin>>n;
for(i=0;i<n;i++)
{
cout<<"\nEnter the number:";
cin>>a[i];
}
cout<<"\nEnter the position to be deleted:";
cin>>x;
for(i=x;i<n;i++)
a[i]=a[i+1];
for(i=0;i<n-1;i++)
cout<<a[i]<<" ";
}
Not finding what you are looking for?

255 views

Ask a Question

Usually answered in minutes!

Top ArcMedia Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1480 Answers

 Mikey
Mikey

Level 3 Expert

6904 Answers

Are you an ArcMedia Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...