Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(total >=0L && total <= 8589934584L) {
- System.out.println("Error on RAM chip 0 at bit " + total);
- } else if (total <= 17179869184L) {
- System.out.println("Error on RAM chip 1 at bit " + total);
- } else if (total <= 25769803768L) {
- System.out.println("Error on RAM chip 2 at bit " + total);
- } else if (total <= 34359738368L) {
- System.out.println("Error on RAM chip 3 at bit " + total);
- } else {
- System.out.println("Error at bit " + total + " is out of bounds of memory chips.");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement