We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • Practice
  • Certification
  • Compete
  • Career Fair
  • Hiring developers?
  1. Practice
  2. Algorithms
  3. Warmup
  4. Staircase
  5. Discussions

Staircase

Problem
Submissions
Leaderboard
Discussions
Editorial

    You are viewing a single comment's thread. Return to all comments →

  • alexgiby 4 years ago+ 0 comments

    The printf is for formatting and when we give %s it indicate the String need to format, the number indicate (15) starting point for printing string (##) and \n indicate for new line so that ## will start printing in a new Line and start from 15th space for more details refer

    *https://docs.oracle.com/javase/tutorial/java/data/numberformat.html *

    3|
    ParentPermalink
  • Contest Calendar
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy
  • Request a Feature