[go: up one dir, main page]

0% found this document useful (0 votes)
84 views10 pages

Comiled Program of Dhanush R

1. The document describes a Java program that gets a user's name as input and provides options to output information about Indian javelin thrower Neeraj Chopra's career, achievements, biography, and more. 2. It prints statements asking the user to enter their name and a number choice, then uses switch cases to output the corresponding text about Neeraj Chopra based on their selection. 3. The program contains over 25 cases that provide details like Chopra's childhood, early career, achievements at various competitions, national and world records, biography, and more.

Uploaded by

l8627352
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views10 pages

Comiled Program of Dhanush R

1. The document describes a Java program that gets a user's name as input and provides options to output information about Indian javelin thrower Neeraj Chopra's career, achievements, biography, and more. 2. It prints statements asking the user to enter their name and a number choice, then uses switch cases to output the corresponding text about Neeraj Chopra based on their selection. 3. The program contains over 25 cases that provide details like Chopra's childhood, early career, achievements at various competitions, national and world records, biography, and more.

Uploaded by

l8627352
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

import java.io.

*;

import java.text.*;

import java.lang.*;

import java.util.Date;

public class Neerajchopra

private String name;

public void Input(String name)

System.out.println("Enter your name");

public String GetName()

return name;

public void Name()throws IOException

int Num;

String name;

Date d1;

d1 = new Date();//Current date and time

InputStreamReader reader = new InputStreamReader(System.in);

BufferedReader input = new BufferedReader(reader);

System.out.println("Enter your name");

name = input.readLine();

String n = "dhanush";

String m = "DHANUSH";

if(n.equalsIgnoreCase(m))

System.out.println("Hi"+" "+name+",do you know the exact date and time");


System.out.println("Let me tell you");

System.out.println("It is"+" "+d1);

System.out.println();

System.out.println("Hi"+" "+name+",this is Dhanush presenting before you a program on Neeraj


chopra The javelin Olympics gold medalist");

System.out.println(name+" "+"Enter your choice to know more about the topic");

System.out.println("Enter 1 for Title");

System.out.println("Enter 2 to display introduction.");

System.out.println("Enter 3 to display acknowledgement .");

System.out.println("Enter 4 to display PICTURE.");

System.out.println("Enter 5 to display CHILD HOOD AND EARLY LIFE.");

System.out.println("Enter 6 to display EARLY CAREER.");

System.out.println("Enter 7 to display CAREER.");

System.out.println("Enter 8 to display GP2 CAREER.");

System.out.println("Enter 9 to display BIOGRAPHY.");

System.out.println("Enter 10 to display GP2 BIOGRAPHY.");

System.out.println("Enter 11 to display GP3 BIOGRAPHY.");

System.out.println("Enter 12 to display Basic information of Neeraj chopra.");

System.out.println("Enter 13 to display ACHIEVEMENTS.");

System.out.println("Enter 14 to display GP2 ACHIEVEMENTS.");

System.out.println("Enter 15 to display GP3 ACHIEVEMENTS.");

System.out.println("Enter 16 to display GP4 ACHIEVEMENTS.");

System.out.println("Enter 17 to display records.");

System.out.println("Enter 18 to display PERSONAL LIFE.");

System.out.println("Enter 19 to display GP2 PERSONAL LIFE.");

System.out.println("Enter 20 to display JOURNEY TO OLYMPIC GOLD.");

System.out.println("Enter 21 to display GP2 JOURNEY TO OLYMPIC GOLD. ");

System.out.println("Enter 22 to display AWARDS.");

System.out.println("Enter 23 to display PHILANTHROPY.");

System.out.println("Enter 24 to display PHILANTHROPY TWEET");

System.out.println("Enter 25 for QUESTION 1");


System.out.println("Enter 26 for QUESTION 2 AND 3");

System.out.println("Enter 27 to display CONCLUSION");

System.out.println("Enter 28 to display BIBLIOGRAPHY");

while (true)

String x = input.readLine();

Num = Integer.parseInt(x);

switch(Num)

case 1:

System.out.println("TITLE");

break;

case 2:

System.out.println("INTRODUCTION");

System.out.println();

System.out.println("I am Dhanush R of class 10A studying in orchids international ");

System.out.println("school vivekananda and my topic is on Neeraj chopra.");

break;

case 3:

System.out.println("Acknowledgement");

System.out.println();

System.out.println("Firstly I would like to express my special thanks and gratitude");

System.out.println("to my teacher for giving me the golden opportunity and" );

System.out.println("fruitful guidance to do this program.");

break;

case 4:

System.out.println("Neeraj chopra");

System.out.println("PICTURE");

System.out.println();

System.out.println();

break;
case 5:

System.out.println(" CHILD HOOD AND EARLY LIFE:");

System.out.println();

System.out.println("Neeraj chopra was born in a Ror family in Khandra village,Panipat,


haryana");

System.out.println("He has two sisters and his family is largely involved in agriculture");

System.out.println("He graduated from Dayanand Anglo-Vedic college in chandigarh,and as


of 2021,is pursuing a Bachelor of Arts from Lovely Professional University in jalandhar,Punjab.");

break;

case 6:

System.out.println("EARLY CAREER");

System.out.println();

System.out.println("Many kids used to bully him because of obesity, his father later decided
to enroll him into sports.");

System.out.println("Chopra visited the nearby panipat sports authority of india (SAI) centre,
where javelin thrower Jaiveer Choudhary recognised his early talent in the winter of 2010.Observing
chopra's ability to achieve a 40 metre throw without training and impressed by his drive, Choudhary
became his first coach.");

System.out.println();

break;

case 7:

System.out.println("CAREER");

System.out.println();

System.out.println("Neeraj’s international career breakthrough came in 2016 when he won


his first international Gold medal at the South Asian Games in Guwahati. In 2017, he won 2 Silver
medals and a Bronze medal at the Asian Grand Prix Series held in 3 different cities, Jinhua, Jiaxing in
China, and Taipei in Taiwan. Later that year, he made his IAAF Diamond League debut and finished
7th with a throw of 83.80 meters.");

break;

case 8:

System.out.println("PAGE 2 CAREER");

System.out.println("in 2018,he won the gold medal after the Sotteville athletics meet in
France, followed by another gold medal at the savo games in lapinlahti,Finland");

System.out.println("In March 2021,neeraj shattered his national record by throwing 88.07m


at the indian grand Prix meet in patiala.");
break;

case 9:

System.out.println("BIOGRAPHY");

System.out.println();

System.out.println("Neeraj Chopra’s career instantly took off after he made his debut in the
domestic circuit at the 2012 National Junior Athletics Competitions and won his first Gold medal with
a record throw of 68.46 meters. With this achievement, he joined the national camp for better
training and exposure.");

break;

case 10:

System.out.println("PAGE 2 BIOGRAPHY");

System.out.println("Neeraj’s international career breakthrough came in 2016 when he won


his first international Gold medal at the South Asian Games in Guwahati. In 2017, he won 2 Silver
medals and a Bronze medal at the Asian Grand Prix Series held in 3 different cities, Jinhua, Jiaxing in
China, and Taipei in Taiwan. Later that year, he made his IAAF Diamond League debut and finished
7th with a throw of 83.80 meters.");

break;

case 11:

System.out.println("PAGE 3 BIOGRAPHY");

System.out.println(" 2018, he won the Gold medal at the Sotteville Athletics meet in France,
followed by another Gold medal at the Savo Games in Lapinlahti, Finland.");

break;

case 12:

System.out.println("Basic information");

System.out.println();

System.out.println("FULL NAME - Naib Subedar Neeraj Chopra, BORN - December 24, 1997,
NATIONALITY - Indian, ROLE- Mens javelin throw");

System.out.println();

break;

case 13:

System.out.println("ACHIEVEMENTS");

System.out.println();

System.out.println("Neeraj Chopra made his international debut for India at the 2013 World
Youth Championships, where he finished 19th in the qualification round held at Donetsk in Ukraine.
At the 2015 Asian Championships, he finished 9th in the final of the javelin throw event in Wuhan,
China.");

System.out.println();

System.out.println();

break;

case 14:

System.out.println("PAGE 2 ACHIEVEMENTS.");

System.out.println("In 2016, he won a Silver medal in the javelin throw at the Asian Junior
Championships. Later that year, Neeraj caught the limelight when he set the world junior record by
throwing 86.48m and clinched the Gold medal at the World U20 Championships in Bydgoszcz,
Poland.");

System.out.println("At the 2017 Asian Championships, he won the Gold medal by throwing
85.23m at Bhubaneshwar in Odisha. In the same year, he competed at the World Athletics
Championships in London but failed to win any medals as he finished 15th in the qualification
round.");

System.out.println();

System.out.println();

break;

case 15:

System.out.println("PAGE 3 ACHIEVEMENTS.");

System.out.println("In 2018, Neeraj clinched the Gold medal at the commonwealth Games
held at Gold Coast in Australia and thus became the first Indian javelin thrower to accomplish the
feat at the Commonwealth Games. At the 2018 Asian Games, he broke his own national record of
86.48m by throwing 88.06m and won the Gold medal in the javelin throw in Jakarta, Indonesia.");

break;

case 16:

System.out.println("PAGE 4 ACHIEVEMENTS.");

System.out.println("In January 2020, Neeraj Chopra booked his Olympics berth in Javelin
Throw at the 2021 Tokyo Olympics after he threw 87.86m at the Athletics Central North East held in
Potchefstroom, South Africa. This will be his debut Olympics after he missed out on the chance of
representing India at the 2016 Rio Olympics.");

System.out.println();

break;

case 17:

System.out.println("ACHIEVEMENTS PICTURE.");

break;
case 18:

System.out.println("PERSONAL LIFE");

System.out.println();

System.out.println("Like many other successful people, Neeraj also took inspiration from his
weak point, where his friends teased him due to his obesity in childhood. Because of that, his father
admitted him to a gymnasium and then joined a gym in Shivaji stadium of Panipat, where he saw the
javelin throwers for the first time and got curious about it.");

break;

case 19:

System.out.println("PAGE 2 PERSONAL LIFE");

System.out.println("Later he started getting training, and for taking up his interest in the
Javelin Throw in 2010, he gave the trials for admission in Sports Authority of India center. Luckily, he
got recognized by famous javelin thrower Jaiveer Choudhary who decided to give training to Neeraj.
Then, he joined other professional javelin throwers in Jalandhar for further training..");

System.out.println();

break;

case 20:

System.out.println("JOURNEY TO OLYMPIC GOLD");

System.out.println();

System.out.println("Neeraj’s journey for gold was not so easy and straight as he faced
several hurdles that stopped him from participating in Tokyo Olympics 2020. The biggest of all,
which was also a hurdle for many other sportspeople, is no outdoors training facilities and
permission during the covid-19 pandemic. Still, these problems could not distract Neeraj from his
ultimate goal of winning an Olympic Gold Medal.");

System.out.println();

System.out.println();

System.out.println();

break;

case 21:

System.out.println("PAGE 2 JOURNEY TO OLYMPIC GOLD");

System.out.println();

System.out.println("He resumed his training with the guidance of his Hohn from Germany,
who himself is a world record holder, by throwing a javelin 104.80 m far. Hohn always kept Neeraj
motivated and always worked on improving Neeraj throwing techniques.");

System.out.println();
System.out.println();

break;

case 22:

System.out.println("AWARDS");

System.out.println();

System.out.println("For his incomparable contributions in sports, Neeraj Chopra has been


awarded many awards. Some of the most notable awards include the:-Padma Shri Award, Param
Vishisht Seva Medal, and the Vishisht Seva Medal by the Indian Army.");

System.out.println();

System.out.println();

break;

case 23:

System.out.println("PHILANTROPY");

System.out.println();

System.out.println("Asian Games gold medal-winning javelin thrower Neeraj Chopra on


Tuesday donated a total of Rs 3 lakh to the central and Haryana state relief funds to combat the
COVID-19 pandemic in the country.");

System.out.println();

System.out.println();

break;

case 24:

System.out.println("PAGE 2 PHILANTROPHY");

System.out.println();

System.out.println("Picture of donation");

System.out.println();

System.out.println();

System.out.println();

System.out.println();

System.out.println();

break;

case 25:

System.out.println("QUESTIONS ABOUT NEERAJ CHOPRA");


System.out.println();

System.out.println("Neeraj Chopra holds which of the following record in javelin's throw");

System.out.println();

break;

case 26:

System.out.println("CONTINUATION OF QUESTIONS");

System.out.println();

System.out.println("2. What was the distance of neeraj chopra's javelin throw in tokyo
olympics 2020A.87.58 m");

System.out.println("3. Which place did neeraj chopra secure in the Olympics 2020");

System.out.println("");

break;

case 27:

System.out.println("CONCLUSION");

System.out.println("This project made me do more research on sports personalities and


made me aware of many things.");

System.out.println("This project helped me know more about neeraj chopra. ");

System.out.println("I also got an opportunity to know about his early life, his career and
etc..");

break;

case 28:

System.out.println("Bibliography");

System.out.println();

System.out.println("The information for this project has been extracted from");

System.out.println("www.google.co.in.");

System.out.println("www.wikipedia.org");

System.out.println("Google images");

break;

default:

System.out.println("Wrong choice");
System.out.println("Enter between 1 to 28");

break;

You might also like