3/05/2013
BCS1243 Assignment 2
1. A University has 3000 students. These students are divided in four catogeries:
i) B. Tech
ii) M. Tech
iii) M.S
iv) Ph.D
Write an algorithm and java program for finding the percentage of the students in each category.
2. Write an algorithm and a java program that prompts the user to enter the number of students and each student's name and score, and finally displays the student with the highest score
3. Write an algorithm and a java program reads an unspecified number of integers, determines how many positive and negative values have been read, and computes the total and average of the input values, not counting zeros. Your program ends with the input 0. Display the average as a floating-point number. (For example, if you entered 1, 2, and 0, the average should be 1.5.)
Subscribe to:
Post Comments (Atom)
Cara download Installer windows 10 dalam format ISO
1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan. ...
-
ANSWERS TO CHAPTER EXERCISES (CHAPTER 8) Review Questions 1. List and describe various types of output, including technolog...
-
Chapter 1 - Introduction to Computer What is computer? List and describe the five components of Computer. What is Network? What is System So...
-
A. Response to the following statements by circling either T (TRUE) or F (FALSE). [10M] I. 1. Java enables users...
No comments:
Post a Comment