Skip to content

Instantly share code, notes, and snippets.

@PedroPicasso18
Created March 23, 2021 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PedroPicasso18/2a931171a96152e7a001c9077aa2722b to your computer and use it in GitHub Desktop.
Save PedroPicasso18/2a931171a96152e7a001c9077aa2722b to your computer and use it in GitHub Desktop.
Actividad numero 1
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