Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  India NewsIndia News  
Keywords
paper science question SELECT 2004 2006 physics 2009 2010 RESULT graph UNION computer prelim 2007 CLASS CASE ICSE papers YEAR
Latest topics
» Nitration of aniline - IIT JEE 2018 Advanced - solved
plz help me EmptyFri Jun 08, 2018 2:34 am by adianadiadi

» Diamagnetic - Paramagnetic - Ni(CO)4, [Ni(CN)4]2- and [NiCl4
plz help me EmptyFri Apr 06, 2018 1:05 am by adianadiadi

» IIT JEE chemistry solved interactive question paper
plz help me EmptySun Oct 29, 2017 12:11 pm by adianadiadi

» IIT JEE 2015 SOLVED QUESTION PAPER
plz help me EmptyWed Oct 19, 2016 1:44 pm by adianadiadi

» IIT JEE chemistry solved questions
plz help me EmptySat Jul 18, 2015 6:15 pm by adianadiadi

» General Description of Chinese Market for Foaming Agent ADC
plz help me EmptyFri May 09, 2014 2:09 pm by happybaicaitou

» How to get Lowest Cost MBBS Admission?
plz help me EmptyMon Feb 24, 2014 6:39 pm by MENTOR 2014

»  girl boy vashikaran specialist agori baba ji +91-9461165
plz help me EmptyTue Jan 21, 2014 6:00 pm by krshastri

»  STRONG LOST LOVE SPELL +91-9461165176
plz help me EmptyTue Jan 21, 2014 6:00 pm by krshastri

Top posters
abhas
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
Anu..i luv icse...:)
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
G-7
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
siya
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
Candy
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
jOhNy
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
Apurva
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
WinRrule
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
ambili
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 
saif
plz help me Vote_lcapplz help me Voting_barplz help me Vote_rcap 



Search if you can't find it here

plz help me

View previous topic View next topic Go down
AuthorMessage
princess




plz help me Vide
PostSubject: plz help me plz help me EmptyTue Jun 10, 2008 8:40 pm

plz help me complete these programs
1)wap to display the following output
1 1
12 3
123 6
1234 10
12345 15


2)
*
**
***
****
***
**
*


3)WAP to print all possible combinations of any three digit number
for eg.123 would be
123,132,231,,,,,,so on
Back to top Go down
abhas
Active member
Active member
abhas


plz help me Vide
PostSubject: icse isc cbse java bluej program plz help me EmptyWed Jun 11, 2008 3:55 pm

second one is the easiest

class ques2
{
void main(int n)//take n as parameter if want
{
for(int c=1;c<=n;c++)
{
for (int d=1;d<=c;d++)
{
System.out.print("*");
}
System.out.println(" ");
}

for(int e=n-1;e>=1;e--)
{
for (int f=1;f<=e;f++)
{
System.out.print("*");
}
System.out.println(" ");
}
}
}


i have tested it in blueJ
it is working properly


//i will answer other ques. soon
Back to top Go down
abhas
Active member
Active member
abhas


plz help me Vide
PostSubject: icse isc java bluej pattern question plz help me EmptySat Jun 14, 2008 10:34 am

Ans. of ques. 1

this program will print
1 1
12 3
123 6
1234 10
12345 15

when you will give value of parameter n as 5

I have tested this program ...

class ques1
{
void main(int n)
{

int s=0;
for(int c=1;c<=n;c++)
{
for (int d=1;d<=c;d++)
{
s=s+d;
System.out.print(d);
}
System.out.print(" "+ s);
s=0;
System.out.println(" ");
}

}

}


study
Back to top Go down
^snigdha^
Active member
Active member
^snigdha^


plz help me Vide
PostSubject: Re: plz help me plz help me EmptyFri Apr 24, 2009 4:00 pm

plz try out dis one 4 me......wap to calculate the area, perimeter & diagonal of a rectangle using 3 separate functions.....a nice & simple 1 plz... Rolling Eyes
plz post the program asap...
Back to top Go down
^snigdha^
Active member
Active member
^snigdha^


plz help me Vide
PostSubject: Re: plz help me plz help me EmptySun Apr 26, 2009 10:38 pm

hey....is there no1 to help me?? Question Question
Back to top Go down
Apurva
Active member
Active member
Apurva


plz help me Vide
PostSubject: Re: plz help me plz help me EmptyMon Apr 27, 2009 12:01 am

ohk here's d program wid a biot of short forms for d long syntaxes
import java.io.*
class test
{
public static l,b;
public static void area
{
int c;
c=l*b;
System.out.println("area is "+c);
}
public static void perimeter
{
int p;
p=2*(l+b);
System.out.println("perimeter is "+p);
}
public static void diagonal
{
float d;
d=math.sqrt((l*l)+(b*b));
System.out.println("diagonal is "+d);
}
public static void main (String args[])throws IOException
{
ISR read=new ISR(System.in);
BR in=new BR(read);
int l,b;
System.out.println("enter l n b");
l=Integer.parseInt (in.readLine());
b=Integer.parseInt(in.readLine());
area();
perimeter();
diagonal();
}}
thats done
Back to top Go down
^snigdha^
Active member
Active member
^snigdha^


plz help me Vide
PostSubject: Re: plz help me plz help me EmptyWed Apr 29, 2009 2:23 pm

thnx apurva!!...
Back to top Go down
Apurva
Active member
Active member
Apurva


plz help me Vide
PostSubject: Re: plz help me plz help me EmptyWed Apr 29, 2009 6:34 pm

ur welcum dear
Back to top Go down
Sponsored content




plz help me Vide
PostSubject: Re: plz help me plz help me Empty

Back to top Go down

plz help me

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: Computer :: Computer help forum-