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

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

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

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

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

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

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

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

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

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



Search if you can't find it here

plz help me asap

View previous topic View next topic Go down
AuthorMessage
princess5427




plz help me asap Vide
PostSubject: plz help me asap plz help me asap EmptyTue Aug 18, 2009 6:59 pm

write a program 2 accept 2 no.s & print all th no.s btwn d 2 in reverse order!! plz help asap!!!!! Exclamation Exclamation Exclamation Exclamation silent silent
Back to top Go down
Boris
Active member
Active member
Boris


plz help me asap Vide
PostSubject: Re: plz help me asap plz help me asap EmptyTue Aug 18, 2009 10:18 pm

import java.io.*;
class revnos
{
public static void main (String args[]) throws IOException
{
InputStreamReader x=new InputStreamReader(System.in);
BufferedReader y=new BufferedReader(x);

System.out.println("Input First no.(upper limit)");
int n=Integer.parseInt(y.readLine());

System.out.println("Input Second no.(lower limit)");
int m=Integer.parseInt(y.readLine());

for(int a=n;a>=m;a--)
{
System.out.println(a);
}
}
}
Back to top Go down
Boris
Active member
Active member
Boris


plz help me asap Vide
PostSubject: Re: plz help me asap plz help me asap EmptyTue Aug 18, 2009 10:22 pm

hey if u doesn't know whether d user has 1st entered d upper limit or d lower limit den jst add a chk b4 d loop 2 chk which no. is greater nd accordingly change d program...Smile
Back to top Go down
princess5427




plz help me asap Vide
PostSubject: Re: plz help me asap plz help me asap EmptyWed Aug 19, 2009 4:41 pm

thank u sooo much boris!!!!! Very Happy Very Happy:D:D:D:D:D:D:D
Back to top Go down
princess5427




plz help me asap Vide
PostSubject: Re: plz help me asap plz help me asap EmptyWed Aug 19, 2009 11:46 pm

import java.io.*;
class murach
{
public static void main(String [] args)throws IOException
{
int n,i; String data;
InputStreamReader instream = new InputStreamReader (System.in);
BufferedReader stdin = new BufferedReader (instream);
System.out.println("enter first no.");
data=stdin.readLine;
n=Integer.parseInt(data);
System.out.println("enter second no.");
data=stdin.readLine;
i=Integer.parseInt(data);
for ( int i=1; i=>n; i++)
if(n%i==0)
System.out.println(+i);
}
}




wtz d prob here?????????????? Embarassed
Back to top Go down
princess5427




plz help me asap Vide
PostSubject: Re: plz help me asap plz help me asap EmptyWed Aug 19, 2009 11:47 pm

plzzzzzzzzzzzz help!!!!!!!!!!!!!!!!!
Back to top Go down
PrincessP

PrincessP


plz help me asap Vide
PostSubject: Re: plz help me asap plz help me asap EmptySat Aug 22, 2009 1:20 pm

Hey Princess5427!
I think this program should sort out ur problem...try it...

import java.io.*;
class Reverse_numbers
{
public static void main() throws IOException
{
BufferedReader in=new BufferedReader(new InputStreamReader(System.in));

System.out.println("Enter the first number: ");
int n1=Integer.parseInt(in.readLine());

System.out.println("Enter the second number: ");
int n2=Integer.parseInt(in.readLine());
if(n1<n2)
for(int i=n2;i>=n1;i--)
System.out.println(i);
else
for(int j=n1;j>=n2;j--)
System.out.println(j);
}
}
Back to top Go down
Sponsored content




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

Back to top Go down

plz help me asap

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-