SlideShare a Scribd company logo
1 of 1
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package circuloapp;
import java.util.Scanner;
/**
*
* @author labctr
*/
public class CIRCULOAPP {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
double radio;
double pi=3.1416;
circulo c1=new circulo ("circulo","redondo","Rojo");
c1.mostrar();
System.out.println("Ingrese el radio(cm)");
Scanner in=new Scanner(System.in);
radio=in.nextDouble();
System.out.println("El area es:"+c1.area(radio,pi));
System.out.println("El perimetro es:"+c1.perimetro(radio,pi));
// TODO code application logic here
}
}

More Related Content

What's hot

BeepBeep 3: A declarative event stream query engine (EDOC 2015)
BeepBeep 3: A declarative event stream query engine (EDOC 2015)BeepBeep 3: A declarative event stream query engine (EDOC 2015)
BeepBeep 3: A declarative event stream query engine (EDOC 2015)Sylvain Hallé
 
A formalization of complex event stream processing
A formalization of complex event stream processingA formalization of complex event stream processing
A formalization of complex event stream processingSylvain Hallé
 
Computer notes - Hashing
Computer notes - HashingComputer notes - Hashing
Computer notes - Hashingecomputernotes
 
Introduction to lambda expression & lambda calculus
Introduction to lambda expression & lambda calculusIntroduction to lambda expression & lambda calculus
Introduction to lambda expression & lambda calculusKim Leo
 
computer notes - Data Structures - 35
computer notes - Data Structures - 35computer notes - Data Structures - 35
computer notes - Data Structures - 35ecomputernotes
 
A "Do-It-Yourself" Specification Language with BeepBeep 3 (Talk @ Dagstuhl 2017)
A "Do-It-Yourself" Specification Language with BeepBeep 3 (Talk @ Dagstuhl 2017)A "Do-It-Yourself" Specification Language with BeepBeep 3 (Talk @ Dagstuhl 2017)
A "Do-It-Yourself" Specification Language with BeepBeep 3 (Talk @ Dagstuhl 2017)Sylvain Hallé
 
Wap to implement bitwise operators
Wap to implement bitwise operatorsWap to implement bitwise operators
Wap to implement bitwise operatorsHarleen Sodhi
 
Project of data structure
Project of data structureProject of data structure
Project of data structureUmme habiba
 
Loop control structure
Loop control structureLoop control structure
Loop control structureKaran Pandey
 
Report for weather pi
Report for weather piReport for weather pi
Report for weather piAsutosh Hota
 
Mangling Ruby with TracePoint
Mangling Ruby with TracePointMangling Ruby with TracePoint
Mangling Ruby with TracePointMark
 
Removal Of Recursion
Removal Of RecursionRemoval Of Recursion
Removal Of RecursionRicha Sharma
 
Runtime Monitoring of Stream Logic Formulae (Talk @ FPS 2015)
Runtime Monitoring of Stream Logic Formulae (Talk @ FPS 2015)Runtime Monitoring of Stream Logic Formulae (Talk @ FPS 2015)
Runtime Monitoring of Stream Logic Formulae (Talk @ FPS 2015)Sylvain Hallé
 
Application of Stack - Yadraj Meena
Application of Stack - Yadraj MeenaApplication of Stack - Yadraj Meena
Application of Stack - Yadraj MeenaDipayan Sarkar
 
Tail Recursion in data structure
Tail Recursion in data structureTail Recursion in data structure
Tail Recursion in data structureRumman Ansari
 
5 chapter3 list_stackqueuepart2
5 chapter3 list_stackqueuepart25 chapter3 list_stackqueuepart2
5 chapter3 list_stackqueuepart2SSE_AndyLi
 

What's hot (20)

BeepBeep 3: A declarative event stream query engine (EDOC 2015)
BeepBeep 3: A declarative event stream query engine (EDOC 2015)BeepBeep 3: A declarative event stream query engine (EDOC 2015)
BeepBeep 3: A declarative event stream query engine (EDOC 2015)
 
A formalization of complex event stream processing
A formalization of complex event stream processingA formalization of complex event stream processing
A formalization of complex event stream processing
 
Computer notes - Hashing
Computer notes - HashingComputer notes - Hashing
Computer notes - Hashing
 
Introduction to lambda expression & lambda calculus
Introduction to lambda expression & lambda calculusIntroduction to lambda expression & lambda calculus
Introduction to lambda expression & lambda calculus
 
computer notes - Data Structures - 35
computer notes - Data Structures - 35computer notes - Data Structures - 35
computer notes - Data Structures - 35
 
A "Do-It-Yourself" Specification Language with BeepBeep 3 (Talk @ Dagstuhl 2017)
A "Do-It-Yourself" Specification Language with BeepBeep 3 (Talk @ Dagstuhl 2017)A "Do-It-Yourself" Specification Language with BeepBeep 3 (Talk @ Dagstuhl 2017)
A "Do-It-Yourself" Specification Language with BeepBeep 3 (Talk @ Dagstuhl 2017)
 
Wap to implement bitwise operators
Wap to implement bitwise operatorsWap to implement bitwise operators
Wap to implement bitwise operators
 
Project of data structure
Project of data structureProject of data structure
Project of data structure
 
Loop control structure
Loop control structureLoop control structure
Loop control structure
 
AugmentaP5 API
AugmentaP5 APIAugmentaP5 API
AugmentaP5 API
 
Report for weather pi
Report for weather piReport for weather pi
Report for weather pi
 
Augmenta Contribution guide
Augmenta Contribution guideAugmenta Contribution guide
Augmenta Contribution guide
 
Mangling Ruby with TracePoint
Mangling Ruby with TracePointMangling Ruby with TracePoint
Mangling Ruby with TracePoint
 
Removal Of Recursion
Removal Of RecursionRemoval Of Recursion
Removal Of Recursion
 
Systemprogramming Lab Manual
Systemprogramming Lab ManualSystemprogramming Lab Manual
Systemprogramming Lab Manual
 
Augmenta
AugmentaAugmenta
Augmenta
 
Runtime Monitoring of Stream Logic Formulae (Talk @ FPS 2015)
Runtime Monitoring of Stream Logic Formulae (Talk @ FPS 2015)Runtime Monitoring of Stream Logic Formulae (Talk @ FPS 2015)
Runtime Monitoring of Stream Logic Formulae (Talk @ FPS 2015)
 
Application of Stack - Yadraj Meena
Application of Stack - Yadraj MeenaApplication of Stack - Yadraj Meena
Application of Stack - Yadraj Meena
 
Tail Recursion in data structure
Tail Recursion in data structureTail Recursion in data structure
Tail Recursion in data structure
 
5 chapter3 list_stackqueuepart2
5 chapter3 list_stackqueuepart25 chapter3 list_stackqueuepart2
5 chapter3 list_stackqueuepart2
 

Viewers also liked

Vnx.su step wgn_&_s-mx_1996-2001
Vnx.su step wgn_&_s-mx_1996-2001Vnx.su step wgn_&_s-mx_1996-2001
Vnx.su step wgn_&_s-mx_1996-20017gsxr
 
Ei koulua vaan tulevaisuutta varten
Ei koulua vaan tulevaisuutta vartenEi koulua vaan tulevaisuutta varten
Ei koulua vaan tulevaisuutta vartenJyrki Kasvi
 
An analysis of Export documentation process
An analysis of Export documentation processAn analysis of Export documentation process
An analysis of Export documentation processAditya Ramachandran
 
Junior Postcard_1_Allie_Service_2013 (1) (1)
Junior Postcard_1_Allie_Service_2013 (1) (1)Junior Postcard_1_Allie_Service_2013 (1) (1)
Junior Postcard_1_Allie_Service_2013 (1) (1)Rodney Pruitt
 
Presentation1
Presentation1Presentation1
Presentation1raji954
 
lee covering letter
lee covering letterlee covering letter
lee covering letterLee Wilkes
 
Shifting the Focus to Outcomes
Shifting the Focus to OutcomesShifting the Focus to Outcomes
Shifting the Focus to OutcomesRhys Gerholdt
 

Viewers also liked (14)

Vnx.su step wgn_&_s-mx_1996-2001
Vnx.su step wgn_&_s-mx_1996-2001Vnx.su step wgn_&_s-mx_1996-2001
Vnx.su step wgn_&_s-mx_1996-2001
 
Ei koulua vaan tulevaisuutta varten
Ei koulua vaan tulevaisuutta vartenEi koulua vaan tulevaisuutta varten
Ei koulua vaan tulevaisuutta varten
 
Presentation
 Presentation Presentation
Presentation
 
Web
WebWeb
Web
 
All sentences
All sentencesAll sentences
All sentences
 
Fables (1)
Fables (1)Fables (1)
Fables (1)
 
An analysis of Export documentation process
An analysis of Export documentation processAn analysis of Export documentation process
An analysis of Export documentation process
 
Junior Postcard_1_Allie_Service_2013 (1) (1)
Junior Postcard_1_Allie_Service_2013 (1) (1)Junior Postcard_1_Allie_Service_2013 (1) (1)
Junior Postcard_1_Allie_Service_2013 (1) (1)
 
Intern Bio 2015
Intern Bio 2015Intern Bio 2015
Intern Bio 2015
 
Presentation1
Presentation1Presentation1
Presentation1
 
ali cv now
ali cv nowali cv now
ali cv now
 
[Untitled]
[Untitled][Untitled]
[Untitled]
 
lee covering letter
lee covering letterlee covering letter
lee covering letter
 
Shifting the Focus to Outcomes
Shifting the Focus to OutcomesShifting the Focus to Outcomes
Shifting the Focus to Outcomes
 

Circuloapp

  • 1. /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package circuloapp; import java.util.Scanner; /** * * @author labctr */ public class CIRCULOAPP { /** * @param args the command line arguments */ public static void main(String[] args) { double radio; double pi=3.1416; circulo c1=new circulo ("circulo","redondo","Rojo"); c1.mostrar(); System.out.println("Ingrese el radio(cm)"); Scanner in=new Scanner(System.in); radio=in.nextDouble(); System.out.println("El area es:"+c1.area(radio,pi)); System.out.println("El perimetro es:"+c1.perimetro(radio,pi)); // TODO code application logic here } }