Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please can you tell me where to put them i have 2 classes a main class where i a

ID: 3638507 • Letter: P

Question

please can you tell me where to put them i have 2 classes a main class where i am supposed to read out the information and logic2 class i think they go here so far i ave done this:

logic2 class:

public class Logic2 {
    int Val1, Val2, Val3, Result1, Result2;
    // creating 1,2,3 integers

public void Calculations (int Val1,int Val2,int Val3){

   
    Result1 = Val3-Val1*Val1;
    Result2 = Val3 - Val2*Val2;
}
// Simply just doing calculation for values and then sqauring them

public void setVal1(int newVal1Value)
{
     Val1 = newVal1Value;
}
public int getVal1()
{
     return Val1;
}
// Created get and set for val1
public void setVal2(int newVal2Value)
{
     Val2 = newVal2Value;
}
public int getVal2()
{
     return Val2;
}
// Created get and set for Val2
public void setVal3(int newVal3Value)
{
     Val3 = newVal3Value;
}
public int getVal3()
{
     return Val3;
}
// Created Get and Set for Val3

Explanation / Answer

var d = new Date() var time = d.getHours() if (time=10 && time