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
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { NgModule } from '@angular/core'; | |
| import { AppRoutingModule } from './app-routing.module'; | |
| import { AppComponent } from './app.component'; | |
| import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
| import { MaterialModule } from './material/material.module'; | |
| @NgModule({ |
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
| <mat-toolbar color="primary"> | |
| <button mat-icon-button class="example-icon" aria-label="Example icon-button with menu icon"> | |
| <mat-icon>menu</mat-icon> | |
| </button> | |
| <span>My App</span> | |
| <span class="flex-grow-1"></span> | |
| <button mat-icon-button class="example-icon favorite-icon" aria-label="Example icon-button with heart icon"> | |
| <mat-icon>favorite</mat-icon> | |
| </button> | |
| <button mat-icon-button class="example-icon" aria-label="Example icon-button with share icon"> |
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
| SubAlgoritmo CuentaRegresiva ( numero ) | |
| Escribir numero | |
| Si ( numero > 0 ) | |
| CuentaRegresiva( numero - 1 ) | |
| FinSi | |
| FinSubAlgoritmo | |
| Algoritmo Recursividad | |
| Definir numero Como Entero | |
| Escribir "Ingrese un número para la cuenta regresiva" |
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
| SubAlgoritmo retorno <- Factorial( numero ) | |
| Definir retorno Como Entero | |
| Si (numero == 0) Entonces | |
| retorno <- 1 | |
| SiNo | |
| retorno <- numero * factorial(numero - 1) | |
| FinSi | |
| FinSubAlgoritmo | |
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
| import { NgModule } from '@angular/core'; | |
| // Form Controls | |
| import { MatAutocompleteModule } from '@angular/material/autocomplete'; | |
| import { MatCheckboxModule } from '@angular/material/checkbox'; | |
| import { MatDatepickerModule } from '@angular/material/datepicker'; | |
| import { MatNativeDateModule } from '@angular/material/core'; | |
| import { MatFormFieldModule } from '@angular/material/form-field'; | |
| import { MatInputModule } from '@angular/material/input'; | |
| import { MatRadioModule } from '@angular/material/radio'; |