Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- System.out.println("x y ");
- System.out.println("-------------------------");
- for(double i=-10.0; i<=10.0; i+=0.5){
- System.out.println(i+" "+(i*i));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement