I'm a senior right now and honestly... Grades and getting involved no matter what. Motivate him to NOT FALL BEHIND. To his best each day because at this senior year he can get relaxed. That his Freshman year will likely be his hardest year due to him being introduced to a new year. He should try new things and experience new things. That'll help find himself and see what he wants to do in the future. I messed up so bad my freshman year. I had a mindset that all of highschool was just a big waste of time. Colleges obviously want a high GPA but also see what classes he took and what groups he was in. All of these things will expand his options and make things a lot easier.
A fine, or put on watch list usually
What does it say in English? I think I can help you then!
Answer:
I will code in JAVA.
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
float x;
float y;
float result;
Scanner input = new Scanner(System.in);
while(true){ <em>//this is an infinite loop</em>
x = input.nextFloat(); <em>//wait the input for x</em>
y = input.nextFloat(); <em>//wait the input for y</em>
if(y == 0) {
continue; <em>//next iteration without print.</em>
} else{
result = x/y;
System.out.print(result); <em>//print the result.</em>
}
}
}
}
Explanation:
To get the numbers, you need to import Scanner class, and use the method nextFloat() to admit floats and integers.
If y is 0 then, executes the continue statement, if not prints the division between x and y.