Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Odd and Even Number Puzzle aka FizzBuzz
#1
Solved: 9 Years, 3 Months, 2 Weeks ago
Please solve this program!

If a number is even means, should print as even number else should print in the below pattern

Suppose the given number is 3, the output should be as below

*
* *
* * *
* *
*
Reply


Messages In This Thread
Odd and Even Number Puzzle aka FizzBuzz - by Varshin - 08-08-2015, 08:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find the number of occurrences of each number present in a matrix. Kalai 2 3,571 03-30-2015, 11:28 PM
Last Post: gauravarora6611

Forum Jump:


Users browsing this thread: 1 Guest(s)