1. Write a java program for the following problems:-
i) Print 1,2,3..20 using while loop
ii) Print 1,2,3..20 using do..while loop
iii) Print 1,2,3..20 using for loop
2. (Conversion from kilograms to pounds) Write a program that displays the following table (note that 1 kilogram is 2.2 pounds). The flowchart has been prepared for you.
Kilograms Pounds
1 2.2
3 6.6
...
197 433.4
199 437.8
3. (Conversion from miles to kilometers) Write a program that displays the following table (note that 1 mile is 1.609 kilometers): Prepare the flowchart first prior to java program.
Miles Kilometers
1 1.609
2 3.218
...
9 14.481
10 16.090
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...
-
Based on real life scenario on any local company/ organization which you are very familiar, define the problem that could be addressed thr...
-
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