Difference:
CSC121S2023Lab6H4a
(1 vs. 2)
Revision 2
2023-02-06 -
cathybareiss
Line: 1 to 1
META TOPICPARENT
name="CSC121S2023Lab6H4"
Deleted:
<
<
Console Input/Output in Java (Chapter 3 of Let Us Java)
\ No newline at end of file
Added:
>
>
Help with proportional spacing
Here are two nice resources:
Console Input/Output in Java (Chapter 3 of Let Us Java)
https://docs.oracle.com/javase/tutorial/java/data/numberformat.html
(java official documentation)
Or you can us an if statement to output one or two spaced depending of if the number is < 10 or >= 10
\ No newline at end of file
Revision 1
2023-02-06 -
cathybareiss
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="CSC121S2023Lab6H4"
Console Input/Output in Java (Chapter 3 of Let Us Java)
View topic
|
H
istory
:
r2
<
r1
|
More topic actions...
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback