write me the code for the following:

APCS Unit 1 
Primitive Datatypes, Variables, Assignment Statements, Expressions
Specification
Create a project in repl called Unit1.
Create a new class in the project called DatatypeVariablesAssignment.
(1) Create a run  method in the class that does the following:
Create a variable of each primitive data type available in Java.
Set the value of each with a literal of the appropriate type.
Create a variable of each primitive data type required for the AP exam.
Set the value of each with Scanner and the corresponding conversion method for each type. When you run the program, observe what happens when you input a string that looks wrong?
Print out the values for the primitives with System.out.println(). For this you only need to print out the values.
Print out the values for the AP primitives with System.out.format(). For this create formatted output with labels. The output in the terminal should look like this:
int: 23
double: 5.123
boolean: false
String: APCS
Call DatatypeVariablesAssignment.run() from Main.main().
Define a typeTest method in your class. It should use the following method signature:

public static void typeTest()

The method should do the following things:
(2) Create 6 new integer variables as follows. Print the results using System.out.format(). Observe patterns.
2 should be set using Scanner.
1 should contain the sum of 2 integers
1 should contain the difference of 2 integers
1 should contain the product of 2 integers
1 should contain the quotient of 2 integers
(3) Create 6 new double variables as follows. Print the results using System.out.format(). Observe patterns.
2 should be set using Scanner.
1 should contain the sum of 2 doubles
1 should contain the difference of 2 doubles
1 should contain the product of 2 doubles
1 should contain the quotient of 2 doubles
(4) Create 4 new int variables as follows. Print the results using System.out.format(). Observe patterns.
2 should be set using Scanner.
1 should contain the sum of 2 doubles
1 should contain the difference of 2 doubles
1 should contain the product of 2 doubles
1 should contain the quotient of 2 doubles
(5) Create 4 new double variables as follows. Print the results using System.out.format(). Observe patterns.
The 2 operands should be set using Scanner.
1 should contain the sum of 1 integer and 1 integer
1 should contain the difference of 1 integer and 1 integer
1 should contain the product of 1 integer and 1 integer
1 should contain the quotient of 1 integer and 1 integer
(6) Create 4 new integer variables as follows. Print the results using System.out.format(). Observe patterns.
The 2 operands should be set using Scanner.
1 should contain the sum of 1 integer and 1 double
1 should contain the difference of 1 integer and 1 double
1 should contain the product of 1 integer and 1 double
1 should contain the quotient of 1 integer and 1 double
(7) Create 4 new double variables as follows. Print the results using System.out.format(). Observe patterns.
The 2 operands should be set using Scanner.
1 should contain the sum of 1 integer and 1 double
1 should contain the difference of 1 integer and 1 double
1 should contain the product of 1 integer and 1 double
1 should contain the quotient of 1 integer and 1 double
	


Topic 1.1: Why Programming? Why Java?
ENDURING UNDERSTANDING
MOD-1
Some objects or concepts are so frequently represented that programmers can draw upon existing code that has already been tested, enabling them to write solutions more quickly and with a greater degree of confidence.
LEARNING OBJECTIVE
ESSENTIAL KNOWLEDGE
MOD-1.A
Call System class methods to generate output to the console.
MOD-1.A.1
System.out.print and System.out.println display information on the computer monitor.
MOD-1.A.2
System.out.println moves the cursor to a new line after the information has been displayed, while System.out.print does not.



ENDURING UNDERSTANDING
VAR-1
To find specific solutions to generalizable problems, programmers include variables in their code so that the same algorithm runs using different input values.
LEARNING OBJECTIVE
ESSENTIAL KNOWLEDGE
VAR-1.A
Create string literals
VAR-1.A.1
A string literal is enclosed in double quotes.