Little Brown Bugs In Sugar
that the program below us, from us a certain number of a full entry of expected range istememzi, double this number are the only number that we provide and the range of the screen if different yazdirmamizi somamizi wants us to continue. Programma che un ingresso Scrivere
of the prince of intero, se verifica un appartiene
name intervallo deciso e stampa a video of branch programmatore
messaggio che dice
if the number and 'odd or even.
If the number and 'out of range, the program continues to ask.
Enter an integer between 1 and 100 203
Enter an integer between 1 and 100
-9
Enter an integer between 1 and 100
45
odd number
--------------------------------------------
{public class PariDispari
public static void main (String [] args) {
/ * 1 100 arasinda ile bir sayi girilmesini istiyoruz * /
final int min = 1;
final int max = 100;
int x;
do {
Console.scriviStr ("Inserisci un intero compreso tra");
Console.scriviInt (min);
Console.scriviStr ("e");
Console.scriviIntero (max);
Console.leggiIntero
x = ();}
/ * read current issue are checking whether the correct olmadigni expected range for the control * /
while (x \u0026lt;min double if not singular number is zero * /
Console.scriviStringa ("numero pari");
Console.scriviStringa else ("Numero dispari");
}}
------- -------------------------------------
0 comments:
Post a Comment