SlideShare a Scribd company logo
1 of 1
Download to read offline
PrintTest.java
import java.util.Scanner;
public class PrintTest {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan = new Scanner(System.in);
System.out.println("Enter the value :");
int n = scan.nextInt();
for(int i =0; i
Solution
PrintTest.java
import java.util.Scanner;
public class PrintTest {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan = new Scanner(System.in);
System.out.println("Enter the value :");
int n = scan.nextInt();
for(int i =0; i

More Related Content

More from anandatalapatra

Solution It is for the auditors and other people involved in the .pdf
Solution It is for the auditors and other people involved in the .pdfSolution It is for the auditors and other people involved in the .pdf
Solution It is for the auditors and other people involved in the .pdfanandatalapatra
 
Ques-1 Answer C. neutrophilsReasonInnate immune system is wit.pdf
Ques-1 Answer C. neutrophilsReasonInnate immune system is wit.pdfQues-1 Answer C. neutrophilsReasonInnate immune system is wit.pdf
Ques-1 Answer C. neutrophilsReasonInnate immune system is wit.pdfanandatalapatra
 
relation between concentration and cell potential is given as Ecel.pdf
relation between concentration and cell potential is given as Ecel.pdfrelation between concentration and cell potential is given as Ecel.pdf
relation between concentration and cell potential is given as Ecel.pdfanandatalapatra
 
Part I Identifying Your Customer’s Needs and Goals Chapter 1 A.pdf
Part I Identifying Your Customer’s Needs and Goals Chapter 1 A.pdfPart I Identifying Your Customer’s Needs and Goals Chapter 1 A.pdf
Part I Identifying Your Customer’s Needs and Goals Chapter 1 A.pdfanandatalapatra
 
Existence of hydrogen bonding increases boiling p.pdf
                     Existence of hydrogen bonding increases boiling p.pdf                     Existence of hydrogen bonding increases boiling p.pdf
Existence of hydrogen bonding increases boiling p.pdfanandatalapatra
 
JellyBean.javapackage jellybeantester;public class JellyBean {.pdf
JellyBean.javapackage jellybeantester;public class JellyBean {.pdfJellyBean.javapackage jellybeantester;public class JellyBean {.pdf
JellyBean.javapackage jellybeantester;public class JellyBean {.pdfanandatalapatra
 
In present DNA microarray technology, the different test-samples are.pdf
In present DNA microarray technology, the different test-samples are.pdfIn present DNA microarray technology, the different test-samples are.pdf
In present DNA microarray technology, the different test-samples are.pdfanandatalapatra
 
In computer graphics vectors perform the operations are...1.Rotati.pdf
In computer graphics vectors perform the operations are...1.Rotati.pdfIn computer graphics vectors perform the operations are...1.Rotati.pdf
In computer graphics vectors perform the operations are...1.Rotati.pdfanandatalapatra
 
copper iodide are incompatible in oxidising media.pdf
                     copper iodide are incompatible in oxidising media.pdf                     copper iodide are incompatible in oxidising media.pdf
copper iodide are incompatible in oxidising media.pdfanandatalapatra
 
Dirac theoremFor a simple network with n 3 vertices, if each ver.pdf
Dirac theoremFor a simple network with n  3 vertices, if each ver.pdfDirac theoremFor a simple network with n  3 vertices, if each ver.pdf
Dirac theoremFor a simple network with n 3 vertices, if each ver.pdfanandatalapatra
 
Construction Supervisor ResponsibilitiesCompletes construction pr.pdf
Construction Supervisor ResponsibilitiesCompletes construction pr.pdfConstruction Supervisor ResponsibilitiesCompletes construction pr.pdf
Construction Supervisor ResponsibilitiesCompletes construction pr.pdfanandatalapatra
 
Border Gateway Protocol (BGP) is the protocol whi.pdf
                     Border Gateway Protocol (BGP) is the protocol whi.pdf                     Border Gateway Protocol (BGP) is the protocol whi.pdf
Border Gateway Protocol (BGP) is the protocol whi.pdfanandatalapatra
 
Answer-The hierarchical aspect of the Ip addressesnetwork -host .pdf
Answer-The hierarchical aspect of the Ip addressesnetwork -host .pdfAnswer-The hierarchical aspect of the Ip addressesnetwork -host .pdf
Answer-The hierarchical aspect of the Ip addressesnetwork -host .pdfanandatalapatra
 
Aedes albopictus, Psorophora ciliate, floodwater mosquitoes, Aedes a.pdf
Aedes albopictus, Psorophora ciliate, floodwater mosquitoes, Aedes a.pdfAedes albopictus, Psorophora ciliate, floodwater mosquitoes, Aedes a.pdf
Aedes albopictus, Psorophora ciliate, floodwater mosquitoes, Aedes a.pdfanandatalapatra
 
Ans.)C) Lower right-hand corner (Ruderal)In climates where streams.pdf
Ans.)C) Lower right-hand corner (Ruderal)In climates where streams.pdfAns.)C) Lower right-hand corner (Ruderal)In climates where streams.pdf
Ans.)C) Lower right-hand corner (Ruderal)In climates where streams.pdfanandatalapatra
 
All chordates possess the same four structures in the early embryo. .pdf
All chordates possess the same four structures in the early embryo. .pdfAll chordates possess the same four structures in the early embryo. .pdf
All chordates possess the same four structures in the early embryo. .pdfanandatalapatra
 
a) False (because it is not always the case).Many electronegative .pdf
a) False (because it is not always the case).Many electronegative .pdfa) False (because it is not always the case).Many electronegative .pdf
a) False (because it is not always the case).Many electronegative .pdfanandatalapatra
 
1.The Open Systems Interconnect (OSI) model has seven layers.The mod.pdf
1.The Open Systems Interconnect (OSI) model has seven layers.The mod.pdf1.The Open Systems Interconnect (OSI) model has seven layers.The mod.pdf
1.The Open Systems Interconnect (OSI) model has seven layers.The mod.pdfanandatalapatra
 
(1) ACQUISITION EXPENSES Acquirers may incur millions in direct an.pdf
(1) ACQUISITION EXPENSES Acquirers may incur millions in direct an.pdf(1) ACQUISITION EXPENSES Acquirers may incur millions in direct an.pdf
(1) ACQUISITION EXPENSES Acquirers may incur millions in direct an.pdfanandatalapatra
 
#include iostream #include cstring #include vector #i.pdf
 #include iostream #include cstring #include vector #i.pdf #include iostream #include cstring #include vector #i.pdf
#include iostream #include cstring #include vector #i.pdfanandatalapatra
 

More from anandatalapatra (20)

Solution It is for the auditors and other people involved in the .pdf
Solution It is for the auditors and other people involved in the .pdfSolution It is for the auditors and other people involved in the .pdf
Solution It is for the auditors and other people involved in the .pdf
 
Ques-1 Answer C. neutrophilsReasonInnate immune system is wit.pdf
Ques-1 Answer C. neutrophilsReasonInnate immune system is wit.pdfQues-1 Answer C. neutrophilsReasonInnate immune system is wit.pdf
Ques-1 Answer C. neutrophilsReasonInnate immune system is wit.pdf
 
relation between concentration and cell potential is given as Ecel.pdf
relation between concentration and cell potential is given as Ecel.pdfrelation between concentration and cell potential is given as Ecel.pdf
relation between concentration and cell potential is given as Ecel.pdf
 
Part I Identifying Your Customer’s Needs and Goals Chapter 1 A.pdf
Part I Identifying Your Customer’s Needs and Goals Chapter 1 A.pdfPart I Identifying Your Customer’s Needs and Goals Chapter 1 A.pdf
Part I Identifying Your Customer’s Needs and Goals Chapter 1 A.pdf
 
Existence of hydrogen bonding increases boiling p.pdf
                     Existence of hydrogen bonding increases boiling p.pdf                     Existence of hydrogen bonding increases boiling p.pdf
Existence of hydrogen bonding increases boiling p.pdf
 
JellyBean.javapackage jellybeantester;public class JellyBean {.pdf
JellyBean.javapackage jellybeantester;public class JellyBean {.pdfJellyBean.javapackage jellybeantester;public class JellyBean {.pdf
JellyBean.javapackage jellybeantester;public class JellyBean {.pdf
 
In present DNA microarray technology, the different test-samples are.pdf
In present DNA microarray technology, the different test-samples are.pdfIn present DNA microarray technology, the different test-samples are.pdf
In present DNA microarray technology, the different test-samples are.pdf
 
In computer graphics vectors perform the operations are...1.Rotati.pdf
In computer graphics vectors perform the operations are...1.Rotati.pdfIn computer graphics vectors perform the operations are...1.Rotati.pdf
In computer graphics vectors perform the operations are...1.Rotati.pdf
 
copper iodide are incompatible in oxidising media.pdf
                     copper iodide are incompatible in oxidising media.pdf                     copper iodide are incompatible in oxidising media.pdf
copper iodide are incompatible in oxidising media.pdf
 
Dirac theoremFor a simple network with n 3 vertices, if each ver.pdf
Dirac theoremFor a simple network with n  3 vertices, if each ver.pdfDirac theoremFor a simple network with n  3 vertices, if each ver.pdf
Dirac theoremFor a simple network with n 3 vertices, if each ver.pdf
 
Construction Supervisor ResponsibilitiesCompletes construction pr.pdf
Construction Supervisor ResponsibilitiesCompletes construction pr.pdfConstruction Supervisor ResponsibilitiesCompletes construction pr.pdf
Construction Supervisor ResponsibilitiesCompletes construction pr.pdf
 
Border Gateway Protocol (BGP) is the protocol whi.pdf
                     Border Gateway Protocol (BGP) is the protocol whi.pdf                     Border Gateway Protocol (BGP) is the protocol whi.pdf
Border Gateway Protocol (BGP) is the protocol whi.pdf
 
Answer-The hierarchical aspect of the Ip addressesnetwork -host .pdf
Answer-The hierarchical aspect of the Ip addressesnetwork -host .pdfAnswer-The hierarchical aspect of the Ip addressesnetwork -host .pdf
Answer-The hierarchical aspect of the Ip addressesnetwork -host .pdf
 
Aedes albopictus, Psorophora ciliate, floodwater mosquitoes, Aedes a.pdf
Aedes albopictus, Psorophora ciliate, floodwater mosquitoes, Aedes a.pdfAedes albopictus, Psorophora ciliate, floodwater mosquitoes, Aedes a.pdf
Aedes albopictus, Psorophora ciliate, floodwater mosquitoes, Aedes a.pdf
 
Ans.)C) Lower right-hand corner (Ruderal)In climates where streams.pdf
Ans.)C) Lower right-hand corner (Ruderal)In climates where streams.pdfAns.)C) Lower right-hand corner (Ruderal)In climates where streams.pdf
Ans.)C) Lower right-hand corner (Ruderal)In climates where streams.pdf
 
All chordates possess the same four structures in the early embryo. .pdf
All chordates possess the same four structures in the early embryo. .pdfAll chordates possess the same four structures in the early embryo. .pdf
All chordates possess the same four structures in the early embryo. .pdf
 
a) False (because it is not always the case).Many electronegative .pdf
a) False (because it is not always the case).Many electronegative .pdfa) False (because it is not always the case).Many electronegative .pdf
a) False (because it is not always the case).Many electronegative .pdf
 
1.The Open Systems Interconnect (OSI) model has seven layers.The mod.pdf
1.The Open Systems Interconnect (OSI) model has seven layers.The mod.pdf1.The Open Systems Interconnect (OSI) model has seven layers.The mod.pdf
1.The Open Systems Interconnect (OSI) model has seven layers.The mod.pdf
 
(1) ACQUISITION EXPENSES Acquirers may incur millions in direct an.pdf
(1) ACQUISITION EXPENSES Acquirers may incur millions in direct an.pdf(1) ACQUISITION EXPENSES Acquirers may incur millions in direct an.pdf
(1) ACQUISITION EXPENSES Acquirers may incur millions in direct an.pdf
 
#include iostream #include cstring #include vector #i.pdf
 #include iostream #include cstring #include vector #i.pdf #include iostream #include cstring #include vector #i.pdf
#include iostream #include cstring #include vector #i.pdf
 

Recently uploaded

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfNirmal Dwivedi
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of PlayPooky Knightsmith
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 

Recently uploaded (20)

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

PrintTest.java import java.util.Scanner;public class PrintTest.pdf

  • 1. PrintTest.java import java.util.Scanner; public class PrintTest { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); System.out.println("Enter the value :"); int n = scan.nextInt(); for(int i =0; i Solution PrintTest.java import java.util.Scanner; public class PrintTest { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); System.out.println("Enter the value :"); int n = scan.nextInt(); for(int i =0; i