Thursday, January 13, 2011

Acne Treatment Ivory Soap

examples of character by character handling, Java (POS-1: 2A, 2C )

number of strings in the input determine

Write a program that determines the number of strings in the input. Strings are any string of characters between single quote (eg a string ). Use the switch to detect strings (state "InString" when within a string, and "OutString" when no string is read).

determine the amount of numbers

Write a program that determines the number of figures in the input (integers must be separated from other entries by spaces, tabs or line breaks).

figures include

Write a Java program that calculates the number of digits in the standard input and outputs.

vowels are

Write a Java program that determines the number of vowels in the standard input and outputs.

characters, words and lines are

Write a Java program that determines the number of characters, words and lines in the standard input and outputs.

0 comments:

Post a Comment