This file contains hidden or 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
| void main(){ | |
| print("Sergio Azael Saenz Quiñones"); | |
| for(int m=1;m<=5; m++){ | |
| print(m); | |
| }//fin de for | |
| print("--------------------------------------------------------------------------"); | |
| print("for each"); | |
| List<String> colores=['Verde','Amarillo','Azul','Morado']; | |
| colores.forEach((colores)=>print(colores)); | |
| print("--------------------------------------------------------------------------"); |
This file contains hidden or 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
| void main() { | |
| var a, b; | |
| var x, y; | |
| var color; | |
| print("Sergio Azael Saenz Quiñones"); | |
| a = -10; | |
| b = ++a; // Incrementa a antes de que b obtenga su valor. | |
| print( " El valor de a es $a 😮"); | |
| print(" El valor de b es $b 😮"); | |
| print("--------------------------------------------------------------------------"); |
This file contains hidden or 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
| void main() { | |
| var minombre="Sergio Saenz"; | |
| var miedad=17; | |
| var mipeso=69.5; | |
| String miescuela="Cbtis 128"; | |
| int sem=6; | |
| print (minombre); | |
| print (miedad); | |
| print (mipeso); | |
| print('--------------------'); |
This file contains hidden or 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
| // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
| // for details. All rights reserved. Use of this source code is governed by a | |
| // BSD-style license that can be found in the LICENSE file. | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override |
NewerOlder