SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
How do I fix this intellij java program: import java.util.Scanner; public class Practice { // Global
Variables Scanner input = new Scanner(System.in); //Enables User Input // This is the entry
point to the program method main public static void main(String[] args) { // Local Variables for
main method char cSymbol = "$" int nNum1=18; int nNum2=21; question01(); question02();
question03(); question04(nNum1, nNum2); } public static void question01(String output);
System.out.println("Please enter 'HelloWorld!'"); String userInput = scanner.nextLine();{
System.out.println("You entered: "+output); } public static void question02() { for(int i = 1; i <=
30; i++) { if(i % 3 == 0) { System.out.print(i + " "); } } System.out.println(); } public static void
main(String[] args) { question02(); } } public static void question03(char cSymbol, String
sOriginal, float fScore) { float recieved = fScore*2; String recieved = "Update"; char recieved
='%'; } public static int question04(int a, int b) { if (a > b) { return a; } else { return b; } } } }

Contenu connexe

Similaire à How do I fix this intellij java program- import java-util-Scanner- pu.pdf

Lab101.pptx
Lab101.pptxLab101.pptx
Lab101.pptxKimVeeL
 
KOLEJ KOMUNITI - Sijil Aplikasi Perisian Komputer
KOLEJ KOMUNITI - Sijil Aplikasi Perisian KomputerKOLEJ KOMUNITI - Sijil Aplikasi Perisian Komputer
KOLEJ KOMUNITI - Sijil Aplikasi Perisian KomputerAiman Hud
 
Import java
Import javaImport java
Import javaheni2121
 
Review Questions for Exam 10182016 1. public class .pdf
Review Questions for Exam 10182016 1. public class .pdfReview Questions for Exam 10182016 1. public class .pdf
Review Questions for Exam 10182016 1. public class .pdfmayorothenguyenhob69
 
Algoritmos sujei
Algoritmos sujeiAlgoritmos sujei
Algoritmos sujeigersonjack
 
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_17-Feb-2021_L8-...
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_17-Feb-2021_L8-...WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_17-Feb-2021_L8-...
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_17-Feb-2021_L8-...MaruMengesha
 
The code you written is little bit confusing and lengthy. Here is th.pdf
The code you written is little bit confusing and lengthy. Here is th.pdfThe code you written is little bit confusing and lengthy. Here is th.pdf
The code you written is little bit confusing and lengthy. Here is th.pdfmohammadirfan136964
 
Write a Java ProgramSolutionAnswer- Code- import java-io--- import jav.docx
Write a Java ProgramSolutionAnswer- Code- import java-io--- import jav.docxWrite a Java ProgramSolutionAnswer- Code- import java-io--- import jav.docx
Write a Java ProgramSolutionAnswer- Code- import java-io--- import jav.docxlez31palka
 
Presentation1 computer shaan
Presentation1 computer shaanPresentation1 computer shaan
Presentation1 computer shaanwalia Shaan
 

Similaire à How do I fix this intellij java program- import java-util-Scanner- pu.pdf (20)

Lab101.pptx
Lab101.pptxLab101.pptx
Lab101.pptx
 
Estructura secuencial -garcia
Estructura secuencial -garciaEstructura secuencial -garcia
Estructura secuencial -garcia
 
Problemas secuenciales.
Problemas secuenciales.Problemas secuenciales.
Problemas secuenciales.
 
Problemas secuenciales.
Problemas secuenciales.Problemas secuenciales.
Problemas secuenciales.
 
Problemas secuenciales.
Problemas secuenciales.Problemas secuenciales.
Problemas secuenciales.
 
Problemas secuenciales.
Problemas secuenciales.Problemas secuenciales.
Problemas secuenciales.
 
Problemas secuenciales.
Problemas secuenciales.Problemas secuenciales.
Problemas secuenciales.
 
KOLEJ KOMUNITI - Sijil Aplikasi Perisian Komputer
KOLEJ KOMUNITI - Sijil Aplikasi Perisian KomputerKOLEJ KOMUNITI - Sijil Aplikasi Perisian Komputer
KOLEJ KOMUNITI - Sijil Aplikasi Perisian Komputer
 
java input & output statements
 java input & output statements java input & output statements
java input & output statements
 
Java programs
Java programsJava programs
Java programs
 
Import java
Import javaImport java
Import java
 
Review Questions for Exam 10182016 1. public class .pdf
Review Questions for Exam 10182016 1. public class .pdfReview Questions for Exam 10182016 1. public class .pdf
Review Questions for Exam 10182016 1. public class .pdf
 
Algoritmos sujei
Algoritmos sujeiAlgoritmos sujei
Algoritmos sujei
 
Java file
Java fileJava file
Java file
 
Java file
Java fileJava file
Java file
 
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_17-Feb-2021_L8-...
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_17-Feb-2021_L8-...WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_17-Feb-2021_L8-...
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_17-Feb-2021_L8-...
 
The code you written is little bit confusing and lengthy. Here is th.pdf
The code you written is little bit confusing and lengthy. Here is th.pdfThe code you written is little bit confusing and lengthy. Here is th.pdf
The code you written is little bit confusing and lengthy. Here is th.pdf
 
Write a Java ProgramSolutionAnswer- Code- import java-io--- import jav.docx
Write a Java ProgramSolutionAnswer- Code- import java-io--- import jav.docxWrite a Java ProgramSolutionAnswer- Code- import java-io--- import jav.docx
Write a Java ProgramSolutionAnswer- Code- import java-io--- import jav.docx
 
Java Programs
Java ProgramsJava Programs
Java Programs
 
Presentation1 computer shaan
Presentation1 computer shaanPresentation1 computer shaan
Presentation1 computer shaan
 

Plus de krishnac481

How does excitation pass from cell 1 to cell 2- By acetylcholine By pa.pdf
How does excitation pass from cell 1 to cell 2- By acetylcholine By pa.pdfHow does excitation pass from cell 1 to cell 2- By acetylcholine By pa.pdf
How does excitation pass from cell 1 to cell 2- By acetylcholine By pa.pdfkrishnac481
 
How I can change the output size in insert import tkinter as tk imp.pdf
How I can change the output size in insert    import tkinter as tk imp.pdfHow I can change the output size in insert    import tkinter as tk imp.pdf
How I can change the output size in insert import tkinter as tk imp.pdfkrishnac481
 
How does PowerBI relate to digital transformation- (Minimum 200 words).pdf
How does PowerBI relate to digital transformation- (Minimum 200 words).pdfHow does PowerBI relate to digital transformation- (Minimum 200 words).pdf
How does PowerBI relate to digital transformation- (Minimum 200 words).pdfkrishnac481
 
How does Any Rand view the American idea of -making money-- A- Nega.pdf
How does Any Rand view the American idea of -making money-- A-    Nega.pdfHow does Any Rand view the American idea of -making money-- A-    Nega.pdf
How does Any Rand view the American idea of -making money-- A- Nega.pdfkrishnac481
 
How has social media impacted consumer behavior pre and post covid19-.pdf
How has social media impacted consumer behavior pre and post covid19-.pdfHow has social media impacted consumer behavior pre and post covid19-.pdf
How has social media impacted consumer behavior pre and post covid19-.pdfkrishnac481
 
How is Peru being impacted by Climate Change- Compare and contrast the.pdf
How is Peru being impacted by Climate Change- Compare and contrast the.pdfHow is Peru being impacted by Climate Change- Compare and contrast the.pdf
How is Peru being impacted by Climate Change- Compare and contrast the.pdfkrishnac481
 
How is each group classified- Parasitic worms Fungi Protozoa What is t.pdf
How is each group classified- Parasitic worms Fungi Protozoa What is t.pdfHow is each group classified- Parasitic worms Fungi Protozoa What is t.pdf
How is each group classified- Parasitic worms Fungi Protozoa What is t.pdfkrishnac481
 
How do I print the lists vertically- sizes -- -Small-- -Medium-- -Larg.pdf
How do I print the lists vertically- sizes -- -Small-- -Medium-- -Larg.pdfHow do I print the lists vertically- sizes -- -Small-- -Medium-- -Larg.pdf
How do I print the lists vertically- sizes -- -Small-- -Medium-- -Larg.pdfkrishnac481
 
How is long-run economic growth measured- What is the basis of long-ru.pdf
How is long-run economic growth measured- What is the basis of long-ru.pdfHow is long-run economic growth measured- What is the basis of long-ru.pdf
How is long-run economic growth measured- What is the basis of long-ru.pdfkrishnac481
 
How do I calculate the following for relative error by hand- I'm aware.pdf
How do I calculate the following for relative error by hand- I'm aware.pdfHow do I calculate the following for relative error by hand- I'm aware.pdf
How do I calculate the following for relative error by hand- I'm aware.pdfkrishnac481
 
How is global human resource management different from domestic HRM- Q.pdf
How is global human resource management different from domestic HRM- Q.pdfHow is global human resource management different from domestic HRM- Q.pdf
How is global human resource management different from domestic HRM- Q.pdfkrishnac481
 
How has Europe benefited from its location and its major physical feat.pdf
How has Europe benefited from its location and its major physical feat.pdfHow has Europe benefited from its location and its major physical feat.pdf
How has Europe benefited from its location and its major physical feat.pdfkrishnac481
 
How each of this happens and their clinical correlates-a- Inversion du.pdf
How each of this happens and their clinical correlates-a- Inversion du.pdfHow each of this happens and their clinical correlates-a- Inversion du.pdf
How each of this happens and their clinical correlates-a- Inversion du.pdfkrishnac481
 
How is the beginning of intramembranous ossification different from en.pdf
How is the beginning of intramembranous ossification different from en.pdfHow is the beginning of intramembranous ossification different from en.pdf
How is the beginning of intramembranous ossification different from en.pdfkrishnac481
 
How do the architecture and design of these systems reflect the functi.pdf
How do the architecture and design of these systems reflect the functi.pdfHow do the architecture and design of these systems reflect the functi.pdf
How do the architecture and design of these systems reflect the functi.pdfkrishnac481
 
How does the fluid mosaic model represents the structure of the plasma.pdf
How does the fluid mosaic model represents the structure of the plasma.pdfHow does the fluid mosaic model represents the structure of the plasma.pdf
How does the fluid mosaic model represents the structure of the plasma.pdfkrishnac481
 
How do you differentiate a crypto exchange from a traditional stock ex.pdf
How do you differentiate a crypto exchange from a traditional stock ex.pdfHow do you differentiate a crypto exchange from a traditional stock ex.pdf
How do you differentiate a crypto exchange from a traditional stock ex.pdfkrishnac481
 
How does the heterozygous condition for sickle cell disease confer an.pdf
How does the heterozygous condition for sickle cell disease confer an.pdfHow does the heterozygous condition for sickle cell disease confer an.pdf
How does the heterozygous condition for sickle cell disease confer an.pdfkrishnac481
 
How does Celebrity Cruises collect data about the customer experience-.pdf
How does Celebrity Cruises collect data about the customer experience-.pdfHow does Celebrity Cruises collect data about the customer experience-.pdf
How does Celebrity Cruises collect data about the customer experience-.pdfkrishnac481
 
How do retail stores display their merchandise taking into account sub.pdf
How do retail stores display their merchandise taking into account sub.pdfHow do retail stores display their merchandise taking into account sub.pdf
How do retail stores display their merchandise taking into account sub.pdfkrishnac481
 

Plus de krishnac481 (20)

How does excitation pass from cell 1 to cell 2- By acetylcholine By pa.pdf
How does excitation pass from cell 1 to cell 2- By acetylcholine By pa.pdfHow does excitation pass from cell 1 to cell 2- By acetylcholine By pa.pdf
How does excitation pass from cell 1 to cell 2- By acetylcholine By pa.pdf
 
How I can change the output size in insert import tkinter as tk imp.pdf
How I can change the output size in insert    import tkinter as tk imp.pdfHow I can change the output size in insert    import tkinter as tk imp.pdf
How I can change the output size in insert import tkinter as tk imp.pdf
 
How does PowerBI relate to digital transformation- (Minimum 200 words).pdf
How does PowerBI relate to digital transformation- (Minimum 200 words).pdfHow does PowerBI relate to digital transformation- (Minimum 200 words).pdf
How does PowerBI relate to digital transformation- (Minimum 200 words).pdf
 
How does Any Rand view the American idea of -making money-- A- Nega.pdf
How does Any Rand view the American idea of -making money-- A-    Nega.pdfHow does Any Rand view the American idea of -making money-- A-    Nega.pdf
How does Any Rand view the American idea of -making money-- A- Nega.pdf
 
How has social media impacted consumer behavior pre and post covid19-.pdf
How has social media impacted consumer behavior pre and post covid19-.pdfHow has social media impacted consumer behavior pre and post covid19-.pdf
How has social media impacted consumer behavior pre and post covid19-.pdf
 
How is Peru being impacted by Climate Change- Compare and contrast the.pdf
How is Peru being impacted by Climate Change- Compare and contrast the.pdfHow is Peru being impacted by Climate Change- Compare and contrast the.pdf
How is Peru being impacted by Climate Change- Compare and contrast the.pdf
 
How is each group classified- Parasitic worms Fungi Protozoa What is t.pdf
How is each group classified- Parasitic worms Fungi Protozoa What is t.pdfHow is each group classified- Parasitic worms Fungi Protozoa What is t.pdf
How is each group classified- Parasitic worms Fungi Protozoa What is t.pdf
 
How do I print the lists vertically- sizes -- -Small-- -Medium-- -Larg.pdf
How do I print the lists vertically- sizes -- -Small-- -Medium-- -Larg.pdfHow do I print the lists vertically- sizes -- -Small-- -Medium-- -Larg.pdf
How do I print the lists vertically- sizes -- -Small-- -Medium-- -Larg.pdf
 
How is long-run economic growth measured- What is the basis of long-ru.pdf
How is long-run economic growth measured- What is the basis of long-ru.pdfHow is long-run economic growth measured- What is the basis of long-ru.pdf
How is long-run economic growth measured- What is the basis of long-ru.pdf
 
How do I calculate the following for relative error by hand- I'm aware.pdf
How do I calculate the following for relative error by hand- I'm aware.pdfHow do I calculate the following for relative error by hand- I'm aware.pdf
How do I calculate the following for relative error by hand- I'm aware.pdf
 
How is global human resource management different from domestic HRM- Q.pdf
How is global human resource management different from domestic HRM- Q.pdfHow is global human resource management different from domestic HRM- Q.pdf
How is global human resource management different from domestic HRM- Q.pdf
 
How has Europe benefited from its location and its major physical feat.pdf
How has Europe benefited from its location and its major physical feat.pdfHow has Europe benefited from its location and its major physical feat.pdf
How has Europe benefited from its location and its major physical feat.pdf
 
How each of this happens and their clinical correlates-a- Inversion du.pdf
How each of this happens and their clinical correlates-a- Inversion du.pdfHow each of this happens and their clinical correlates-a- Inversion du.pdf
How each of this happens and their clinical correlates-a- Inversion du.pdf
 
How is the beginning of intramembranous ossification different from en.pdf
How is the beginning of intramembranous ossification different from en.pdfHow is the beginning of intramembranous ossification different from en.pdf
How is the beginning of intramembranous ossification different from en.pdf
 
How do the architecture and design of these systems reflect the functi.pdf
How do the architecture and design of these systems reflect the functi.pdfHow do the architecture and design of these systems reflect the functi.pdf
How do the architecture and design of these systems reflect the functi.pdf
 
How does the fluid mosaic model represents the structure of the plasma.pdf
How does the fluid mosaic model represents the structure of the plasma.pdfHow does the fluid mosaic model represents the structure of the plasma.pdf
How does the fluid mosaic model represents the structure of the plasma.pdf
 
How do you differentiate a crypto exchange from a traditional stock ex.pdf
How do you differentiate a crypto exchange from a traditional stock ex.pdfHow do you differentiate a crypto exchange from a traditional stock ex.pdf
How do you differentiate a crypto exchange from a traditional stock ex.pdf
 
How does the heterozygous condition for sickle cell disease confer an.pdf
How does the heterozygous condition for sickle cell disease confer an.pdfHow does the heterozygous condition for sickle cell disease confer an.pdf
How does the heterozygous condition for sickle cell disease confer an.pdf
 
How does Celebrity Cruises collect data about the customer experience-.pdf
How does Celebrity Cruises collect data about the customer experience-.pdfHow does Celebrity Cruises collect data about the customer experience-.pdf
How does Celebrity Cruises collect data about the customer experience-.pdf
 
How do retail stores display their merchandise taking into account sub.pdf
How do retail stores display their merchandise taking into account sub.pdfHow do retail stores display their merchandise taking into account sub.pdf
How do retail stores display their merchandise taking into account sub.pdf
 

Dernier

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Dernier (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

How do I fix this intellij java program- import java-util-Scanner- pu.pdf

  • 1. How do I fix this intellij java program: import java.util.Scanner; public class Practice { // Global Variables Scanner input = new Scanner(System.in); //Enables User Input // This is the entry point to the program method main public static void main(String[] args) { // Local Variables for main method char cSymbol = "$" int nNum1=18; int nNum2=21; question01(); question02(); question03(); question04(nNum1, nNum2); } public static void question01(String output); System.out.println("Please enter 'HelloWorld!'"); String userInput = scanner.nextLine();{ System.out.println("You entered: "+output); } public static void question02() { for(int i = 1; i <= 30; i++) { if(i % 3 == 0) { System.out.print(i + " "); } } System.out.println(); } public static void main(String[] args) { question02(); } } public static void question03(char cSymbol, String sOriginal, float fScore) { float recieved = fScore*2; String recieved = "Update"; char recieved ='%'; } public static int question04(int a, int b) { if (a > b) { return a; } else { return b; } } } }