¿Me podrían ayudar? No he logrado que compile, es en BlueJ. Por favor :( | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

¿Me podrían ayudar? No he logrado que compile, es en BlueJ. Por favor :(

Dado un conjunto de números enteros, terminados con un numero negativo determinar: Si el mayor número leído es primo o no, si el menor número leído es par y si la diferencia entre el mayor y menor es perfecto. Importante, no tener en cuenta el número negativo, solamente se utiliza para salir.

8th Apr 2021, 12:37 PM
Juan Pablo Alfonso Sarmiento
Juan Pablo Alfonso Sarmiento - avatar
2 Answers
+ 1
Translation of the question: Could you help me? I have not managed to compile, it is in BlueJ Please :( Given a set of whole numbers, ending with a negative number, determine: If the largest number read is prime or not, if the smallest number read is even and if the difference between the largest and smallest is perfect. Important, do not take into account the negative number, it is only used to exit.
8th Apr 2021, 12:59 PM
Soumik
Soumik - avatar
+ 1
Hola :) Muéstranos tu código para que podamos ayudarte. Hi :) Show us your code so we can help you.
8th Apr 2021, 1:01 PM
Soumik
Soumik - avatar