Showing posts with label java programming. Show all posts
Showing posts with label java programming. Show all posts

Sunday, November 9, 2008

Exercise Problems (assignment #1 ) in Object -Oriented Programming

for DIT 121

Create a program that will accept a string and the display the string in reverse format. The class name is DIT121xxx.

for DIT 122

Create a program the will accept an integer numbers a N times. Determine and display the lowest number. The class name is DIT122xxx.

for DIT 211

Create a program that will accept a string, counts and displays the numbers in the strings that you entered, without regard to case (uppercase versus lowercase letters). The class name is DIT211xxx.

for BSCS 121

Create a program that will accept 10 integer numbers. Determine and display the highest number. The class name is BSCS121xxx.

for BSIT 121

Create a program the will accept the gender of the students 10 students. Count and display the number of male and female students. The class name is BSIT121xxx.

for BSCS 122

Create a program that will accept 10 integer numbers. Determine and display the sum of all positive and negative numbers. The class name is BSCS122xxx.

for BSIT 122

Create a program that will accept 10 floating float numbers. Compute and display the average. Use any type of loop structures. The class name is BSIT122xxx.