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
YEAR paper RESULT 2004 graph prelim CASE ICSE question computer papers science 2009 2010 SELECT physics 2007 UNION 2006 CLASS
Latest topics
» Nitration of aniline - IIT JEE 2018 Advanced - solved
java - plz help me EmptyFri Jun 08, 2018 2:34 am by adianadiadi

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

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

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

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

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

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

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

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

Top posters
abhas
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
Anu..i luv icse...:)
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
G-7
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
siya
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
Candy
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
jOhNy
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
Apurva
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
WinRrule
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
ambili
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz help me Vote_rcap 
saif
java - plz help me Vote_lcapjava - plz help me Voting_barjava - plz 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




java - plz help me Vide
PostSubject: plz help me java - 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


java - plz help me Vide
PostSubject: icse isc cbse java bluej program java - 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


java - plz help me Vide
PostSubject: icse isc java bluej pattern question java - 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^


java - plz help me Vide
PostSubject: Re: plz help me java - 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^


java - plz help me Vide
PostSubject: Re: plz help me java - 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


java - plz help me Vide
PostSubject: Re: plz help me java - 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^


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

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


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

ur welcum dear
Back to top Go down
Sponsored content




java - plz help me Vide
PostSubject: Re: plz help me java - 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-