Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Ashoor Questions
555 Questions
(Conversion from kilograms to pounds) Write a program that displays the following table (note that 1 kilogram is 2.2 pounds):
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
1
1
285
(Repeat additions) Listing 5.4, SubtractionQuizLoop.java, generates five random subtraction questions. Revise the program to generate ten random addition questions for two integers between 1 and 15. Display the correct count and test time
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
172
(Count positive and negative numbers and compute the average of numbers) Write a program that 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)
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
258
(Financial application: monetary units) Rewrite Listing 2.10, ComputeChange. java, to fix the possible loss of accuracy when converting a float value to an int value. Read the input as a string such as \"11.56\"
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
187
(Generate vehicle plate numbers) Assume a vehicle plate number consists of three uppercase letters followed by four digits. Write a program to generate a plate number
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
179
(Order three cities) Write a program that prompts the user to enter three cities and displays them in ascending order. Here is a sample run:
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
175
(Financial application: payroll) Write a program that reads the following information and prints a payroll statement:
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
257
(Check substring) Write a program that prompts the user to enter two strings and reports whether the second string is a substring of the first string
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
252
(Check SSN) Write a program that prompts the user to enter a Social Security number in the format DDD-DD-DDDD, where D is a digit. Your program should check whether the input is valid. Here are sample runs:
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
257
(Process a string) Write a program that prompts the user to enter a string and displays its length and its first character
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
202
(Business: check ISBN-10) Rewrite the Programming Exercise 3.9 by entering the ISBN number as a string
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
194
(Student major and status) Write a program that prompts the user to enter two characters and displays the major and status represented in the characters
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
235
(Days of a month) Write a program that prompts the user to enter a year and the first three letters of a month name (with the first letter in uppercase) and displays the number of days in the month. Here is a sample run:
Java programming
2022-06-04
Answers
30
Question
40
Followers
30
0
1
309
Total:
555
Previous
22
23
24
25
26
Next
Go