Saturday, 1 February 2014

Paint design By:Tanuj Kumar

Shareyourconscienec


Designed developed in paint:

simple design made by using simple star tool tool of paint 
as shown in figure.fill colour of my choice .
Shareyourconscience
Design#1 ©tanuj

Shareyourconscience
Design#2 ©tanuj

Shareyourconscience
Design#3 ©tanuj

Shareyourconscience
Design#4 ©tanuj

Design#5 ©tanuj

Shareyourconscience
Design#6 ©tanuj

Posted By:Tanuj Kumar 
On:Shareyourconscience

Read More
Posted on 5:10:00 pm
Categories:

Interview question code


Interview question code

Question :- wap to print the numbers from 1 to 50. But in multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz"



solution:-

         public class FizzBTest
{
 //Create main function
    public static void main(String args[])
  {
           for(int i = 1; i <= 50; i++) 
          {
            if(i % (3*5) == 0) System.out.println("FizzBuzz");
            else if(i % 5 == 0) System.out.println("Buzz");
            else if(i % 3 == 0) System.out.println("Fizz");
            else System.out.println(i);
         } 
   } 

}


Posted By:M@ddy Th@kur 
On:Shareyourconscience

Read More
Posted on 3:28:00 pm
Categories: