Created
March 23, 2021 21:15
-
-
Save PedroPicasso18/2a931171a96152e7a001c9077aa2722b to your computer and use it in GitHub Desktop.
Actividad numero 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math' as math; | |
void main() { | |
double r=2; | |
double A=0; | |
double P=0; | |
String Programador="Pedro Picasso"; | |
// formula del area | |
A= math.pi*math.pow(r,2); | |
print("Area=${A}"); | |
// formula del perimetro | |
P=2*math.pi*r; | |
print("Perimetro=${P}"); | |
print(Programador); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment