Cover image for Plymouth Rock Assurance
Logo

Plymouth Rock Assurance

Empresa activa

Plymouth Rock Assurance

Añadir una entrevista

Pregunta de entrevista

Entrevista de Senior Software Consultant - Java

-

Plymouth Rock Assurance

Write an algorith to print a series of roman numerals.

Respuestas de entrevistas

4 respuestas

0

public class Roman { public static void main(String args[]) { String digits[] = { "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" }; String prefixes[] = { "", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC", "C" }; int i = 1; System.out.println("Roman Numbers from 1 to 100: "); do { if (0 0); } }

Shiva Anand Adari en

0

public class Roman { public static void main(String args[]) { String digits[] = { "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" }; String prefixes[] = { "", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC", "C" }; int i = 1; System.out.println("Roman Numbers from 1 to 100: "); do { if (0 0); } }

Shiva Anand Adari en

0

do { if (0 0);

Shiva Anand Adari en

0

for some reason it is not showing whole code.

Shiva Anand Adari en

Añadir respuestas o comentarios

Para publicar un comentario sobre esto, inicia sesión o regístrate.