Search This Blog

Friday, 28 August 2015

Java program to store values in array

Java program to store values in array



class arraydd   //classname
{
  public static void main(String args[])
  {
    int a[][]=new int[3][3];
    int k=0;
    for(int i=0;i<3;i++)
    {
      for(int j=0;j<3;j++)
      {
        a[i][j]=k+10; //storing values in array
        k=k+10;
      }
    }
    for(int i=0;i<3;i++)
    {
      for(int j=0;j<3;j++)
      {
        System.out.print(" "+a[i][j]);   //displaying arrays
      }
      System.out.println("");
    }
  }
}

Wednesday, 26 August 2015

Coupons on hike

Coupons by hike

Here’s which the coupons by hike are:

Type #coupons BRANDNAME to get the coupon code

-Dominos
-shopclues
-eBay
-Askme
-Happily Unmarried
-American Swan
-Naaptol
-Printvenue
-Ferns n Petals
-Fab Furnish


Wednesday, 19 August 2015

Shopclues coupon code

Shopclues coupon code 

Shopclues promo code only on we for you 

Coupon code for shopclues :

We for you is giving chance to people to get discount on various sites. 
This time we are back with shopclues coupon codes. 
We are request you to message us on our Facebook page :  www.facebook.com/we4foryou
Or just email us or comment your email id we will get back to you soon. 


We have vouchers for all of you which can be used on shopclues and that will be valid till 31st October 2015.

Steps to redeem your coupon code:
1. Go  to www.shopclues.com and select the product you wish to buy. 
2. Click on "Buy now"  and "place order"  and fill in your details. 
3. Click on "continue"  and apply your coupon code in "apply coupon code" . 



Terms and conditions :      
Offer will give flat 10% discount. 
Offer cannot be clubbed with any other offer. 
Offer can give you maximum of upto 300rs discount. 
Offer on not valid on purchase of data cards. 



Thank you 
We for you 



Comment your mail id or just contact us on fb page. 

Myntra coupon code

Myntra coupon code 

Myntra promo codes of Sale

Myntra coupon codes only available on this site. 


It's not everyday you get 32% OFF using this Coupon code. 

Our site is giving you the offer to get 32% OFF on sale of Myntra. 

This is special offer from Myntra so grab it now. 




No terms and conditions apply. 


Direct get your coupon code. 

Comment your mail id and we will reply with a coupon code. 

Or

You can message us on our Facebook page : www.facebook.com/we4foryou

We can't post coupon codes on this site due to some security issues.  

Thank you 
We for you 

Monday, 10 August 2015

C program of moving car

//Manish
//weforyou
//contactus on www.futureisclean.blogspot.in
//fbpage: we for you

c program of moving car in computer graphics

#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<graphics.h>
#include<dos.h>
void main()
{
     int gd=DETECT,gm,x,y,i;
     initgraph(&gd,&gm,"c:\\turboc3\\bgi");
    x=getmaxx();
    y=getmaxy();
    for(i=0;i<=350;i++)
    {
    line(x/8+i,y/2,x/8+i,3*y/8);
    line(x/8+i,3*y/8,3*x+i/16,3*y/8);
    line(3*x/16+i,3*y/8,x/4+i,3*y/16);
    line(x/4+i,3*y/16,x/2+i,3*y/16);
    line(x/2+i,3*y/16,3*x/4+i,3*y/8);
    line(3*x+i/4,3*y/8,3*x/4+i,y/2);
    circle(x/4+i,y/2,30);
    circle(x/2+i,y/2,30);
    line(3*x/4+i,y/2,x/2+i,y/2);
    line(x/8+i,y/2,x/2+i,y/2);
    clearviewport();

    }
    delay(2);
     getch();


}