Home Java help translating printf syntax to print
Reply: 0

Java help translating printf syntax to print

user270
1#
user270 Published in June 19, 2018, 11:54 pm

I'm trying to understand printf syntax. Specifically, I need to know what...

System.out.printf("%3s%12s%12s\n", "Sum", "Frequency", "Percentage"); 

...would translate to when using a print rather than printf statement.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.311107 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO