import java.util.Scanner;
public class MyClass1 {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int smallest = 0, largest = 0, num, count = 0;
while (true){
System.out.println("Enter a number (-1 to quit): ");
num = scan.nextInt();
if (num == -1){
System.exit(0);
}
else if (num < 0){
System.out.println("Please enter a positive number!");
}
else{
if (num > largest){
largest = num;
}
if (num < smallest || count == 0){
smallest = num;
count++;
}
System.out.println("Smallest # so far: "+smallest);
System.out.println("Largest # so far: "+largest);
}
}
}
}
I hope this helps! If you have any other questions, I'll do my best to answer them.
Answer:
Which statement accurately describes his key to success?
Explanation:
The success in Netflix lies in offering:
1. Entertainment;
2. fun;
3. originality;
4. innovation and
5. happiness.
Netflix learning is:
1. Bet on your content.
2. Brand Personality.
3. Visual universe.
4. Customization
5. Big Data helps Netflix continue to grow and improve customer service.
Answer:
Social Engineering Attack
Explanation:
The exploitation of individuals in order to gain confedential information is a Social Engineering Attack. These attacks typically take advanage of one's emotions or they use inpersonaltion to steal data.
read more here: https://www.webroot.com/us/en/resources/tips-articles/what-is-social-engineering
Lmk if this helps! :)
Servers that exist within a data center that is publicly accessible on the internet are referred to as on-premises servers: b. false.
<h3>What is a server?</h3>
A server can be defined as a dedicated computer system that is designed and developed to provide specific services to other computer devices or programs, which are commonly referred to as the clients.
<h3>What is an
on-premises server?</h3>
An on-premises server can be defined as a type of server that are privately owned by a company or individuals, which must be managed and maintained individually.
In conclusion, servers that exist within a data center that is not publicly accessible on the internet are generally referred to as on-premises servers.
Read more on servers here: brainly.com/question/27960093
#SPJ1