Trending ▼   ResFinder  

ICSE − Q & A

ICSE
Indian Certificate of Secondary Education (ICSE), New Delhi
+Fave Message

Ask a Question

Answer a Question!

ResFinder - Thousands of Practice Papers

Can anybody tell me how many marks would be cut for this..
Q9)
import java.io.*;
class Wonder
{
    public static void main() throws IOException
    { BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
        int i;
        String country[]={"MEXICO","BRAZIL","INDIA","CHINA","PERU","JORDAN","ITALY"};
        String wonders[]={"CHICHEN ITZA","CHRIST THE REDEEMER","TAJMAHAL","GREAT WALL OF CHINA","MACHU PICCHU","PETRA","COLOSSEUM"};
        System.out.println("Enter country");
        String cname=br.readLine();
        cname=cname.toUpperCase();
        int c=0;
        for(i=0;i
        {
            if(country[i].compareTo(cname)==0)
            {
                System.out.println(country[i]+"-"+wonders[i]);
            }
            else
            {
                c++;
            }
        }
        if(c==country.length-1)
        {
            System.out.println("Sorry not found!");
        }
    }
}
asked by Darshan Deshpande (darshan1504) 8 years ago
0
HOW WAS THE PPR GUYS
asked by Ankit Fadia (tanmay_dani) 8 years ago
0
please upload d computer paper
asked by Sdfg Sdfg (sdfg) 8 years ago
1
Wht was d answer of Q4 (commercial application )
asked by Sugandh Gupta (sugandh96) 8 years ago
0
Which is the best data type for a variable to store an amount of moey like Rs. 40000 ?
asked by Deleted Account (hadiq_pv) 8 years ago
2
Guyzr v supposed to ryt the output of our programs???
asked by Ko (vsbha) 8 years ago
1
Anybody...a prg for selection sort...plz
asked by Niranjan D R (thuglife) 8 years ago
1
Say what you want, yesterday's match was fixed and that is a fact
asked by Saahil Sankar B (bestintheworld) 8 years ago
1
plzz ans fast
name a package that is invoked by the default
name the default access specifier of a function
asked by Jenita Maryam Jinu (jenita) 8 years ago
2
So, last exam!!!!
Question: is it important to write both variable description and comments? My teacher told to write only comments not that variable description thing.
However we would be the first batch to do so. Our seniors wrote only variable description and many of them scored 100. So advice me what shall I do?
asked by Krushang Vaghasia (ktgis) 8 years ago
2

<< Prev

    Page 72    

Next Page >>

ICSE chat

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us