Answer:
- Code is in JAVA language. As there is no user input the logic is straightforward.
- Below is the code along with a detailed explanation of the logic.
- The class name is Print main save as file as the main class.
Explanation:
Program:-
public class Main{
public static void main(String args[]){
/* There are two for loops...
* First for loop runs from i=1 to i=9
* Second for loop runs from j=1 to j=i.
*
*/
for(int i=1;i<=9;i++){
for(int j=1;j<=i;j++){ // j loop runs from j=1 to j=i
/*Prints I and j next to each other*/
System.out.println(i+""+j);
}//for loop of j ends here
}// for loop of I ends here
}
}
Answer:
EventHandler
Explanation:
In order to do this the programmer needs to use the EventHandler class. This class allows the computer to listen for certain user actions such as pressing a button. Using this on a button would then allow the programmer to specify what they want to happen when the user clicks the button or performs a certain action. For example, in this scenario, the programmer would program an EventHandler so that when the button is clicked it saves the input to a variable and changes the input field to the next option.
Answer:
Create a new C# windows application with the name SalsSandwiches. Add the below code in respective file.
Explanation:
See attached images for the source code and output
Answer:
x = int(input("What grade are you in? "))
if (x == 9):
print ("Freshman")
elif (x == 10):
print("Sophomore")
elif (x == 11):
print ("Junior")
elif (x == 12):
print("Senior")
else:
print ("Not in High School")
Explanation:
The way to respond to the theft of your identity cyber awareness is; To report the crime to the local commission which is the Federal Trade Commission (FTC).
<h3>Protection from Identity Theft</h3>
Identity Theft is basically a crime that happens happens when someone steals your personal information and uses it commit a fraudulent offence.
Now, the person that stole your identity may use the stolen information he got from you to apply for credit, file taxes, medical services or other government privileges.
The acts perpetuated above by the thief could lead to damage to your reputation with credit status and your good name too which could take years to rebuild.
Thus, it is very pertinent to report any case of such to the relevant government commission which in this case is Federal Trade Commission (FTC).
Read more about Identity Theft at; brainly.com/question/15252417