can anyone help m with making a program were it will compute only the number in an array?
example: if i inputted A1B2C3, the answer would be 6.
2 Replies - 228 Views - Last Post: 11 August 2009 - 10:48 AM
#1
java program that computes the inputed number in an array?
Posted 10 August 2009 - 11:08 PM
Replies To: java program that computes the inputed number in an array?
#2
Re: java program that computes the inputed number in an array?
Posted 10 August 2009 - 11:09 PM
show us your work first
[rules][/rules]
[rules][/rules]
#3
Re: java program that computes the inputed number in an array?
Posted 11 August 2009 - 10:48 AM
[rules][/rules]
but here's a clue: you would go through the string and check if it's an int. if it is you would add it to a counter. that's your hint. we do not do your work for you here.
but here's a clue: you would go through the string and check if it's an int. if it is you would add it to a counter. that's your hint. we do not do your work for you here.
This post has been edited by computerfox: 11 August 2009 - 10:49 AM
Page 1 of 1
|
|

New Topic/Question
This topic is locked




MultiQuote




|