What the hell is the point of this, just to waist people's time?
Answer:
Option C i.e., spam is the correct answer to the following question.
Explanation:
The following mails are spam because when Cindy opens her mail account then, Cindy finds that she gets 50 emails from the unknown company which promises the weight loss if she will buy pills form that company named "LifeCo.". Cindy gets that these companies are fraud or they cheat so they deleted those messages angrily because those are spam.
Answer:
import java.util.Scanner;
class SquareDisplay {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("Enter an integer in the range of 1-15: ");
int num = scan.nextInt();
if ((num > 0) && (num <= 15)) {
String s = "X".repeat(num) + "\n";
System.out.print(s.repeat(num));
} else {
// your error handling
}
scan.close();
}
}
Explanation:
The company had good enough internal controls to prevent Scott D.