Tuesday
October 21, 2014

Homework Help: java

Posted by reima on Saturday, February 19, 2011 at 12:32pm.

Write the following methods and test them.this need to be execute it in Eclipse IDE for Java Developers

1. printVowels - this method should take a String as a parameter and print all the vowels contained in that String one character per line.

2. printConsonants - this method should take a String as a parameter and print all the consanants contained in that String one character per line.

3. printDigits - this method should take a String as a parameter and print all the numeric digits contained in that String one character per line.

4. processExpression - this method should take a String in the format: "integer [[+-*/] integer]*]" Your method should then process this expression and return the result as an integer. You must solve this problem using ONLY tools that were taught thus far in CSC535.

Examples:

"125" -> 125

"125 + 7" -> 132

"125 + 7 - 2" -> 130

"125 * 2" -> 250

"10 / 3" -> 3

and this what i take so far

cou;d you please make the answer easy because i am beginner in programming and use just this code this is what i took so far

while
if
boolen

not!

<

<=

>

=>

==

!=

or//

and &&

String

int length()

char chaeAt(int index)

string to Upper Case()

string to Lower Case()

mathod(subroutines, procedures, functiond)

return_type methodName(comma_delim_list of params)

{

//do stuff

}
this assignment is java language

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Computer Science-Java - Hi, I have to write a method that returns my first name...
Java Help - I am just starting out in programming. If someone could help me with...
Java - Write a method that will take in a String parameter and return true if ...
COMPUTER SCIENCE JAVA - Assignment problems: Write Java programs for each of the...
COMPUTER SCIENCE JAVA - Assignment problems: Write Java programs for each of the...
Computer Science - I need help with these assignments. "Write a program to read ...
java - Write a java application that finds the smallest of several integers. ...
Java - Is there a method in Java in which to see if an integer value contains ...
please help java - please help me with that as soon as any bady can ...
Java Programming - I'm new to Java and I'm not sure how to write the source code...

Search
Members