Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
6Activity
0 of .
Results for:
No results containing your search query
P. 1
ICSE Computer Project

ICSE Computer Project

Ratings: (0)|Views: 121 |Likes:
Published by Manish Agarwal
class 10 icse project
class 10 icse project

More info:

Categories:Types, School Work
Published by: Manish Agarwal on Aug 27, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/13/2011

pdf

text

original

 
ICSE COMPUTER APPLICATIONS BLUEJ PROJECT BY WWW.THEEXAMPAPERS.COMwritten by ChiragAgarwal
import java.io.*;import java.util.*;class ares{double cart;void flo() throws Exception{BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));String flch,num,choice;int ch,n; do{System.out.println("** WELCOME TO Lenovo Computers **");System.out.println("\n ************************\n\t1. Lenovo 3000H10053118BQ DesktopComputer\n*********************************************\n\t2. Lenovo 3000H10053118AQ DesktopComputer\n*********************************************\n\t3. Lenovo 3000H10053119AQ Desktop Computer");System.out.println("********************************\n\t4. Lenovo 3000 N2000769A29 Notebook\n**************************************************\n\t5. Lenovo3000 N1000768HBQ Notebook\n**************************************************\n\t6. Lenovo3000 N1000689A65 Notebook\n**************************************************\n\t7. Lenovo3000 N1000689AQ1 Notebook");System.out.println("Type the number 1/2/3/4/5/6/7 to indicate the choice of Laptop you intend to buy..");flch=buf.readLine();ch=Integer.parseInt(flch);System.out.println("Type the number of Computers/Laptops you intend to buy of the above choice...");num=buf.readLine();n=Integer.parseInt(num);if(ch==1){
 
System.out.println("Each Lenovo 3000 H10053118BQ Desktop Computer costRs. 20,250");System.out.println("you pay Rs. "+(n*20250)+" for the Lenovo 3000H10053118BQ Desktop Computer(s)");cart=n*20250;}else if(ch==2){System.out.println("Each Lenovo 3000 H10053118AQ Desktop Computer cost Rs. 21,750");System.out.println("you pay Rs. "+(n*21750)+" for the DesktopComputer(s)");cart=n*21750;} else if(ch==3){System.out.println("Each Lenovo 3000 H10053119AQ Desktop Computer costRs. 22,250");System.out.println("you pay Rs. "+(n*22250)+" for the DesktopComputer(s)");cart=n*22250;}else if(ch==4){System.out.println("Each Lenovo 3000 N2000769A29 Notebook cost Rs.34,990");System.out.println("you pay Rs. "+(n*34990)+" for the Notebook)");cart=n*34990;}else if(ch==5){System.out.println("Each Lenovo 3000 N1000768HBQ Notebook cost Rs.38,500");System.out.println("you pay Rs. "+(n*38500)+" for the Notebook");cart=n*38500;}else if(ch==6){System.out.println("Each Lenovo 3000 N1000689A65 Notebook cost Rs.52,000");System.out.println("you pay Rs. "+(n*52000)+" for the Notebook");cart=n*52000;}else if(ch==7){
 
System.out.println("Each Lenovo 3000 N1000689AQ1 Notebook cost Rs.52,000");System.out.println("you pay Rs. "+(n*52000)+" for the Notebook");cart=n*52000;} else System.out.println(" ********** SORRY !!! **********\n\t The LenovoProduct(s) ordered by you are not available. ");System.out.println("Type 'c' to continue buying the Desktops/Notebooks......"); choice=buf.readLine(); }while(choice.equalsIgnoreCase("c")); } void mobilestore() throws Exception{BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));String flch,num,choice;int ch,n; do{System.out.println("** WELCOME TO THE NOKIA GALLERY**");System.out.println("\n ************************\n\t1. Nokia2310\n*********************************************\n\t2. Nokia 3110classic\n*********************************************\n\t3. Nokia 5070");System.out.println("********************************\n\t4. Nokia5300\n**************************************************\n\t5. Nokia7610\n**************************************************\n\t6. Nokia N73M\n**************************************************\n\t7. Nokia N93i");System.out.println("Type the number 1/2/3/4/5/6/7 to indicate the choice of NokiaHandset you intend to buy..");flch=buf.readLine();ch=Integer.parseInt(flch);System.out.println("Type the number of Nokia Handsets you intend to buy of theabove choice...");num=buf.readLine();n=Integer.parseInt(num);if(ch==1){

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->