Others
Assessment
CenterForComputing
ChatGPT
Search
Close
Log in
Register
CenterForComputing
You are here:
CenterForComputing
»
Syllabi
»
CSC121SylS2023
»
CSC121S2023Lab06
»
CSC121S2023Lab6H4
»
CSC121S2023Lab6H4a
Help with proportional spacing
06 Feb 2023 - 13:55
|
Version
1
|
UnknownUser
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
Attachments
($count)
Show options
Search:
Sort by:
Name
Date
Author
Size
Type
Results per page:
6
12
24
48
all
Display hidden:
More actions
Create link(s)
Embed
Download
Hide
Unhide
Move
Delete
0
attachment(s)
Select all
Clear all
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback
This website is using cookies.
More info
.
That's Fine