Skip to content

kamalashreen/TW101-Introductory-programming-exercises

Repository files navigation

TW101-Introductory-programming-exercises

ThoughtWorks Introductory programming assignments in Java

Assignment 1.java

Prints one asterisk on the console.

Assignment 2.java

Given a number n, prints n asterisks in one line.

Assignment 3.java

Given a number n, prints n lines, each with one asterisk.

Assignment 4.java

Given a number n, prints n lines, each with one more asterisk than the last.

Assignment 5.java

Given a number n, prints a centered (isosceles) triangle of asterisks.

Assignment 6.java

Given a number n, prints a centered diamond of asterisks.

Assignment 7.java

Given a number n, prints a centered diamond with your name in place of the middle line.

Assignment 8.java

Prints out the numbers 1 through 100 where instead of numbers divisible by three prints "Fizz", instead of numbers divisible by five prints "Buzz". instead of numbers divisible by three and five prints "FizzBuzz".

Assignment 9.java

Given an integer N, returns a list of prime factors of N that are arranged in increasing numerical order.

About

ThoughtWorks Introductory programming assignments in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages