100% Guaranteed Results


CS594d – #Week 1 Solved
$ 15.99
Category:

Description

5/5 – (1 vote)

1.Write a Java programme which prints “Hello Java” on the output, which takes two integers, adds them and stores them into a variable sum. Make a square of the sum and print it.

2.Write a Java programme which reads two integers, two float values and two string data (“123”, “999”) from the terminal and then passes these values through an add() operation one by one. Display the final result.

Hints :

Scanner sc = new Scanner(new File(“myNumbers”)); while (sc.hasNextLong()) { long aLong = sc.nextLong();
} sc.close();

Reviews

There are no reviews yet.

Be the first to review “CS594d – #Week 1 Solved”

Your email address will not be published. Required fields are marked *

Related products