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
package aplicativo; | |
import javafx.application.*; | |
import static javafx.application.Application.launch; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.*; | |
import javafx.scene.text.*; | |
import javafx.scene.control.*; | |
import javafx.scene.layout.*; | |
import javafx.stage.*; |
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
package exercicios; | |
import java.util.Scanner; | |
import java.lang.Math; | |
import java.util.Random; | |
public class Exercicios{ | |
public static void main(String[] args){ | |
Scanner op = new Scanner(System.in); | |
Random rand = new Random(); | |
int ops = 0; |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace SoloLearn | |
{ | |
class Program |
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
puts '-------------------'; | |
puts 'Calculadora em Ruby'; | |
puts '-------------------'; | |
puts 'Digite o primeiro numero: '; | |
num1 = gets.to_i; | |
puts 'Digite o segundo numero: '; | |
num2 = gets.to_i; | |
puts "Os numeros digitados foram: #{num1} e #{num2}"; |
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 java.util.Scanner; | |
public class ExercicioAndre{ | |
public static void main(String[] args){ | |
Scanner op = new Scanner(System.in); | |
System.out.print("Digite o valor total da compra: "); | |
double compra = op.nextFloat(); | |
System.out.println(compra); | |
System.out.println(); |
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 java.util.Scanner; | |
public class ExercicioAndre{ | |
public static void main(String[] args){ | |
Scanner op = new Scanner(System.in); | |
System.out.println("Digite o lado de um quadrado: "); | |
int lado = op.nextInt(); | |
int area = lado * lado; | |
System.out.println("A area do quadrado = " + area); |
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 java.util.Scanner; | |
public class ExercicioAndre{ | |
public static void main(String[] args){ | |
Scanner op = new Scanner(System.in); | |
System.out.println("---------------------------"); | |
System.out.println("Calculadora em Java"); | |
System.out.println("---------------------------"); | |
int result; | |
System.out.println("Digite o primeiro numero:"); |
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 java.util.Scanner; | |
public class ExercicioAndre{ | |
public static void main(String[] args){ | |
Scanner op = new Scanner(System.in); | |
System.out.println("Digite seu nome:"); | |
String nome = op.nextLine(); | |
System.out.println("Digite sua idade:"); | |
int idade = op.nextInt(); | |
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
<html> | |
<head> | |
<title>DEMONSTRAÇÃO - Criptografia com JavaScript</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
</head> | |
<body> | |
<script src="https://s.codigofonte.com.br/wp-content/js/codigofonte-bar.js"></script> | |
<script language="javascript"> | |
function Encripta(dados){ |
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
#include<stdio.h> | |
main() | |
{ | |
//Prints ascii value of given stringint i,n; | |
printf("Enter how many numbers are there\n"); | |
scanf("%d",&n); | |
int num[n]; | |
printf("Enter a NUMBERS separated with space\n"); | |
for(i=0;i<n;i++) | |
{ |
NewerOlder