Created
February 6, 2025 18:10
-
-
Save GabrielAlvrado89/052aa15d6e20dcbc3240ae83692c1592 to your computer and use it in GitHub Desktop.
Funcion basica en dart
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
// Funciones basicas que no devuelve valor, | |
// pero ejecuta las instrucciones entre llaves | |
void saludar(){ | |
print("Buenos dias"); | |
} | |
void main() { | |
print("Angel Alvarado 22308051281127"); | |
// Llamar a la funcion saludar() | |
saludar(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Salida
![image](https://private-user-images.githubusercontent.com/179508503/410585669-c1b1011b-73cd-4ba9-9446-0f4414f834c2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTQyNjEsIm5iZiI6MTczOTMxMzk2MSwicGF0aCI6Ii8xNzk1MDg1MDMvNDEwNTg1NjY5LWMxYjEwMTFiLTczY2QtNGJhOS05NDQ2LTBmNDQxNGY4MzRjMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQyMjQ2MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ODAzNTc0YmRmNGE2ZGJkYzkzYzZhZjJmNTAyZjc3MDAwODQxZmZlZmZjODBmMWI2ZjQxMzAxYTUwNDU0NjIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.iRA6hgP9Ksd7qz9HM01Ne3qNhgY572v5QorwA5IHYxg)