Answer:
True
Explanation:
The while loop is going to be executed until the condition is false.
Since <em>k</em> is initially equal to 1, the loop will execute 88 times. One asterisk will be printed and <em>k</em> will be incremented by one during each iteration.
When <em>k</em> becomes 89, the condition will be false (89 is not smaller or equal to 88) and the loop will stop.
You hit ctrl than the plus/equal sign Hope that helped!
Answer:
a. Telnet transmissions are not encrypted.
Explanation:
Indeed, since <em>Telnet transmissions are not encrypted,</em> all the information sent, and even the characters typed in the telnet console are sent in clear text.
This is a security issue, since any other device in the same network will receive a copy of the information (packets) sent. For default, all the devices, except for the server expecting to receive the information, will discard the packets. However it is easy to actively <em>listen </em>and keep those packets, wich will contain the information in plain text and human readable.
Complete Question:
Write a do-while loop that continues to prompt a user to enter a number less than 100, until the entered number is actually less than 100. End each prompt with a newline. Ex: For the user input 123, 395, 25, the expected output is:
Enter a number (<100):
Enter a number (<100):
Enter a number (<100):
Your number < 100 is: 25
Answer:
import java.util.Scanner;
public class num8 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n;
do{
System.out.println("Enter a number (<100):");
n= in.nextInt();
}while(n>100);
System.out.println("Your number < 100 is: "+n);
}
}
Explanation:
Using Java programming language
Import the scanner class to receive user input
create an int variable (n) to hold the entered value
create a do while loop that continuously prompts the user to enter a number less than 100
the condition is while(n>100) It should continue the loop (prompting the user) until a number less than 100 is entered.