SlideShare a Scribd company logo
import java.util.Random;
public class randomCalls {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Random rn = new Random();
int n;
for(int i=1;i<=720;i++)
{
n = rn.nextInt(6) +5;
System.out.print(n);
System.out.print(' ');
System.out.println(i);
}
}
}
Solution
import java.util.Random;
public class randomCalls {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Random rn = new Random();
int n;
for(int i=1;i<=720;i++)
{
n = rn.nextInt(6) +5;
System.out.print(n);
System.out.print(' ');
System.out.println(i);
}
}
}

More Related Content

PDF
A. In order to survive inside the body of the host, a pathogen must .pdf
PDF
10) The Correct answer is improvements in learning through hypnosis .pdf
PDF
1.1.The words ‘data’ and ‘information’ are often used as though they.pdf
PDF
1. Osmotic pressure = imRTwhere m = molality of solute, R = molar.pdf
PDF
1-Children are more susceptible to Trichurus species be it male or f.pdf
PDF
Javac code for the manager of the Jeter County softball teamimp.pdf
PDF
1) Mitochondria are known as power houses of cell. The mitochondria .pdf
PDF
the molecule is 2,2-dichloro-ethanol all carbons.pdf
A. In order to survive inside the body of the host, a pathogen must .pdf
10) The Correct answer is improvements in learning through hypnosis .pdf
1.1.The words ‘data’ and ‘information’ are often used as though they.pdf
1. Osmotic pressure = imRTwhere m = molality of solute, R = molar.pdf
1-Children are more susceptible to Trichurus species be it male or f.pdf
Javac code for the manager of the Jeter County softball teamimp.pdf
1) Mitochondria are known as power houses of cell. The mitochondria .pdf
the molecule is 2,2-dichloro-ethanol all carbons.pdf

More from aquadreammail (20)

PDF
Increases. Gases have higher entropy than liquids.pdf
PDF
Simple C++ program to multiply two polynomials#include iostrea.pdf
PDF
design and deliver an confirmation based academic and instruction sy.pdf
PDF
OK, let me try to talk you through this. The arro.pdf
PDF
x=input(Enter the first sequence ); l1=input(Enter the lowe.pdf
PDF
Yes , we can view .Xmzx files are encoded files that take to be un.pdf
PDF
The middle Carbon is the SP hybridized atom.SP hybrid orbitals con.pdf
PDF
The link provided by your teacher is a popular article based on the .pdf
PDF
EPO, hematopoietin, or hemopoietin, is a glycoprotein hormone that c.pdf
PDF
The answer is D) IIA buffer system must contain a weak acid and i.pdf
PDF
c. underwent morphogenesis between the early and late gastrula stage.pdf
PDF
Text Component FeaturesThe JTextComponent class is the foundation .pdf
PDF
SolutionPreparing the T-Accounts for the Above TransactionPrep.pdf
PDF
operating system linux,ubuntu,Mac Geometri.pdf
PDF
NO TILL FARMINGNo-till farming (also called zero tillage or direct.pdf
PDF
Lions use sounds with different intensities, senses such as tough an.pdf
PDF
let R be ringI be a subgroup under additionif I be idealfor a,.pdf
PDF
If we use evaporation or recrystallization, we would only remove the.pdf
PDF
I am considering the case where you have multiple name in same file .pdf
PDF
Hormone A chemical substance produced in the body by ductless gland.pdf
Increases. Gases have higher entropy than liquids.pdf
Simple C++ program to multiply two polynomials#include iostrea.pdf
design and deliver an confirmation based academic and instruction sy.pdf
OK, let me try to talk you through this. The arro.pdf
x=input(Enter the first sequence ); l1=input(Enter the lowe.pdf
Yes , we can view .Xmzx files are encoded files that take to be un.pdf
The middle Carbon is the SP hybridized atom.SP hybrid orbitals con.pdf
The link provided by your teacher is a popular article based on the .pdf
EPO, hematopoietin, or hemopoietin, is a glycoprotein hormone that c.pdf
The answer is D) IIA buffer system must contain a weak acid and i.pdf
c. underwent morphogenesis between the early and late gastrula stage.pdf
Text Component FeaturesThe JTextComponent class is the foundation .pdf
SolutionPreparing the T-Accounts for the Above TransactionPrep.pdf
operating system linux,ubuntu,Mac Geometri.pdf
NO TILL FARMINGNo-till farming (also called zero tillage or direct.pdf
Lions use sounds with different intensities, senses such as tough an.pdf
let R be ringI be a subgroup under additionif I be idealfor a,.pdf
If we use evaporation or recrystallization, we would only remove the.pdf
I am considering the case where you have multiple name in same file .pdf
Hormone A chemical substance produced in the body by ductless gland.pdf
Ad

Recently uploaded (20)

PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Cell Structure & Organelles in detailed.
PDF
Complications of Minimal Access Surgery at WLH
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Lesson notes of climatology university.
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PPTX
master seminar digital applications in india
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
01-Introduction-to-Information-Management.pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
What if we spent less time fighting change, and more time building what’s rig...
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Cell Structure & Organelles in detailed.
Complications of Minimal Access Surgery at WLH
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Anesthesia in Laparoscopic Surgery in India
Lesson notes of climatology university.
UNIT III MENTAL HEALTH NURSING ASSESSMENT
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
Weekly quiz Compilation Jan -July 25.pdf
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
master seminar digital applications in india
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
01-Introduction-to-Information-Management.pdf
Ad

import java.util.Random; public class randomCalls {      .pdf

  • 1. import java.util.Random; public class randomCalls { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Random rn = new Random(); int n; for(int i=1;i<=720;i++) { n = rn.nextInt(6) +5; System.out.print(n); System.out.print(' '); System.out.println(i); } } } Solution import java.util.Random; public class randomCalls { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Random rn = new Random(); int n; for(int i=1;i<=720;i++) { n = rn.nextInt(6) +5; System.out.print(n); System.out.print(' ');