Java - Structure - Pascal's Triangle

Published: 08 July 2017
on channel: Jevgenij Volosatov
2,854
26

Print the first five lines of Pascal's triangle in a herringbone pattern.
Use five System.out.format commands ("...", ...)
Connect numbers on a line with a hyphen.
Use spaces at the beginning of the line for alignment.
No extra spaces should be printed at the end of the line.

Link to video solution: https://www.videosharp.info/console/t...

►VKontakte group https://vk.com/formula_programmista
►Facebook group   / videosharp.info  
►Telegram channel https://telegram.me/videosharp
►Instagram   / jevolosatov  
►YouTube channel    / visamway  
►Personal consultation: https://www.videosharp.info/shop/open...

★ Programmer's Formula ★ is practical training in programming through the creation of game and application programs.
https://www.videosharp.info/

A little about me:
All my conscious life I have been writing programs and teaching it to others.
By education - Master of Mathematics and Computer Science,
created more than a hundred commercial programs and trained several thousand programmers,
who are now doing what they love, for which they receive good money.
Short biography: https://www.videosharp.info/project/v...

My articles on habrhabr:
Learning C# - a practical approach - https://habrahabr.ru/post/304142/
About alternative education and C# - https://habrahabr.ru/post/257957/
How I created a C# teaching method - https://habrahabr.ru/post/239825/


On this page of the site you can watch the video online Java - Structure - Pascal's Triangle with a duration of hours minute second in good quality, which was uploaded by the user Jevgenij Volosatov 08 July 2017, share the link with friends and acquaintances, this video has already been watched 2,854 times on youtube and it was liked by 26 viewers. Enjoy your viewing!