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 { Component } from '@angular/core'; | |
import { ModalController, AlertController, NavParams } from '@ionic/angular'; | |
@Component({ | |
selector: 'nota-fiscal-empresa', | |
templateUrl: './nota-fiscal-empresa.component.html', | |
styleUrls: ['./nota-fiscal-empresa.component.scss'], | |
}) | |
export class NotaFiscalEmpresaComponent { |
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
<ion-header> | |
<ion-toolbar color="tertiary"> | |
<div class="headerTittle"> | |
<h1>CNPJ na Nota</h1> | |
</div> | |
</ion-toolbar> | |
<ion-toolbar> | |
<!-- Botão que ativará a função para testar o CNPJ --> | |
<div class="headerButton" (click)="testaCNPJ()"> | |
Inserir CNPJ |
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
<ion-header> | |
<ion-toolbar color="tertiary"> | |
<div class="headerTittle"> | |
<h1>CPF na Nota</h1> | |
</div> | |
</ion-toolbar> | |
<ion-toolbar> | |
<!-- Botão que ativará a função para testar o CPF --> | |
<div class="headerButton" (click)="testaCPF()"> | |
Inserir CPF |
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 { Component } from '@angular/core'; | |
import { ModalController, AlertController, NavParams } from '@ionic/angular'; | |
@Component({ | |
selector: 'nota-fiscal', | |
templateUrl: './nota-fiscal.component.html', | |
styleUrls: ['./nota-fiscal.component.scss'], | |
}) | |
export class NotaFiscalComponent { |
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
<ion-header> | |
<!--Título da página --> | |
<ion-toolbar color="tertiary"> | |
<div class="headerTittle"> | |
<h1>Comida</h1> | |
</div> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> |
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
.titulo { | |
font-size: 20px; | |
font-weight: bold; | |
color: blue; | |
text-align: center; | |
margin-bottom: 10x; | |
font-family: Verdana, Geneva, Tahoma, sans-serif; | |
} |
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 ChartDataLabels from 'chartjs-plugin-datalabels'; | |
import { Component, ViewChild } from '@angular/core'; | |
import * as Chart from 'chart.js'; | |
@Component({ | |
selector: comida, | |
templateUrl: './comida.page.html', | |
styleUrls: ['./comida.page.scss'], | |
}) | |
export class ComidaPage { |
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
package exerciciosJava; | |
public class Cavalos { | |
public static void main(String[] args) { | |
double m, h, t, cavalos; | |
m = 21; | |
h = 2.2; | |
t = 1.4; | |
cavalos = (m * h / t) / 745.6999; |
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
package exercicios; | |
public class Temperatura { | |
public static void main(String[] args) { | |
double C, K, F, Re, Ra; | |
C = 2.43; | |
F = C * 1.8 + 32; | |
K = C + 273.15; | |
Ra = C * 1.8 + 32 + 459.67; |
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
package artigosExercicios; | |
public class LataOleo { | |
public static void main(String[] args) { | |
double V, R, A; | |
R = 3.2; | |
A = 4.9; | |
V = 3.14159 * R * R * A; | |
System.out.println("O volume da lata de óleo é de " + V + " m³"); |
OlderNewer