Diagrama.docx

  • Uploaded by: Eliseo Canaviri
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Diagrama.docx as PDF for free.

More details

  • Words: 60
  • Pages: 1
INICIO

String =semilla, snumero2, snumero3

int =tam1, tam2, i, primerc

long = numero1, numero2;

semilla = canaviri.next() tam1 = semilla.length() numero1 = Integer.parseInt(semilla)

for (i = 1; i <= 100; i++)

numero2 = (long) Math.pow(numero1, 2) snumero2 = Long.toString(numero2) tam2 = snumero2.length() primerc = (tam2 - tam1) / 2 snumero3 = snumero2.substring(primerc, primerc + tam1); numero1 = Integer.parseInt(snumero3)

I,snumero3

fin

More Documents from "Eliseo Canaviri"

December 2019 15
Modelo Para Tareas.docx
December 2019 14
Oso.docx
December 2019 10
Diagrama.docx
December 2019 10
Tareo Sekutop Junio-julio
October 2019 14
November 2019 16