Write a Java program that demonstrates the use of the pre-increment operator (++i). In your program, you should:
1. Define an integer variable i and initialize it to 5.
2. Use the pre-increment operator to increment i before using it in this arithmetic expression (pre-increment operator + 10).
3. Define an integer variable result to hold the result of arithmetic expression.
4. Print the value of i after the increment.
5. Print the result of the arithmetic expression where i is incremented using the pre-increment operator.
6. Note: you must take a screenshot of the output
Sample of the run
Compare between high-level language and low-level language with an example.
A. Definitions
B. Examples
Write a program that asks for the user’s student name, student ID, and college name and prints a welcome message for the student. You must enter your real information. Here is a sample run of the program:
Sample:
Enter Student first name: Ahmad
Enter Student second name: Ali
Enter Student ID :1234567
Enter collage name: College of Computing and Informatics
Welcome Ahmad Ali in the College of Computing and Informatics