SlideShare a Scribd company logo
1 of 1
Download to read offline
public class weird { public static void main(String[] args){ int number =8 halfthefun(11);
halfthefun (23+28) halfthefun(number); System.out.println("number =" + number); } public
static void halfthefun(int number) { number = number /2; for (int count =1; count <= number;
count ++){ System.out.print(count +""); } System.out.println();

More Related Content

More from altajhaji20

Q3 35000 Points The diagram on the left represents a quiescent center.pdf
 Q3 35000 Points The diagram on the left represents a quiescent center.pdf Q3 35000 Points The diagram on the left represents a quiescent center.pdf
Q3 35000 Points The diagram on the left represents a quiescent center.pdfaltajhaji20
 
Q2.21. Which of the following statements about intraspecific competit.pdf
 Q2.21. Which of the following statements about intraspecific competit.pdf Q2.21. Which of the following statements about intraspecific competit.pdf
Q2.21. Which of the following statements about intraspecific competit.pdfaltajhaji20
 
Q2.1 11000 Points The cloudy (cdy) recessive mutation causes seedling.pdf
 Q2.1 11000 Points The cloudy (cdy) recessive mutation causes seedling.pdf Q2.1 11000 Points The cloudy (cdy) recessive mutation causes seedling.pdf
Q2.1 11000 Points The cloudy (cdy) recessive mutation causes seedling.pdfaltajhaji20
 
Q25 dominance 15 Points B is an allele that makes frogs green, whil.pdf
 Q25 dominance 15 Points B is an allele that makes frogs green, whil.pdf Q25 dominance 15 Points B is an allele that makes frogs green, whil.pdf
Q25 dominance 15 Points B is an allele that makes frogs green, whil.pdfaltajhaji20
 
Q2. Match the graphs with their descriptions. DAG [ Choose ] a graph .pdf
 Q2. Match the graphs with their descriptions. DAG [ Choose ] a graph .pdf Q2. Match the graphs with their descriptions. DAG [ Choose ] a graph .pdf
Q2. Match the graphs with their descriptions. DAG [ Choose ] a graph .pdfaltajhaji20
 
Q2. (10 Points) Indirect Addressing Mode Instruction 002D J@ RETADR 3.pdf
 Q2. (10 Points) Indirect Addressing Mode Instruction 002D J@ RETADR 3.pdf Q2. (10 Points) Indirect Addressing Mode Instruction 002D J@ RETADR 3.pdf
Q2. (10 Points) Indirect Addressing Mode Instruction 002D J@ RETADR 3.pdfaltajhaji20
 
Q19 Glycolaldehyde 15 Points Glycolaldehyde inhibits the Calvin cyc.pdf
 Q19 Glycolaldehyde 15 Points Glycolaldehyde inhibits the Calvin cyc.pdf Q19 Glycolaldehyde 15 Points Glycolaldehyde inhibits the Calvin cyc.pdf
Q19 Glycolaldehyde 15 Points Glycolaldehyde inhibits the Calvin cyc.pdfaltajhaji20
 
Q2 (10 points). Regarding SVB banks failure, please list at least tw.pdf
 Q2 (10 points). Regarding SVB banks failure, please list at least tw.pdf Q2 (10 points). Regarding SVB banks failure, please list at least tw.pdf
Q2 (10 points). Regarding SVB banks failure, please list at least tw.pdfaltajhaji20
 
Q2 The repair and maintenance cost of a machine is $50,000 per yea.pdf
 Q2 The repair and maintenance cost of a machine is $50,000 per yea.pdf Q2 The repair and maintenance cost of a machine is $50,000 per yea.pdf
Q2 The repair and maintenance cost of a machine is $50,000 per yea.pdfaltajhaji20
 
Q12 electron acceptor 15 Points What is the terminal electron accep.pdf
 Q12 electron acceptor 15 Points What is the terminal electron accep.pdf Q12 electron acceptor 15 Points What is the terminal electron accep.pdf
Q12 electron acceptor 15 Points What is the terminal electron accep.pdfaltajhaji20
 
Q2 A discrete probability distribution is given by the table i) Find.pdf
 Q2 A discrete probability distribution is given by the table i) Find.pdf Q2 A discrete probability distribution is given by the table i) Find.pdf
Q2 A discrete probability distribution is given by the table i) Find.pdfaltajhaji20
 
Q1. (1)What are the four principles to design an efficient and ef.pdf
 Q1. (1)What are the four principles to design an efficient and ef.pdf Q1. (1)What are the four principles to design an efficient and ef.pdf
Q1. (1)What are the four principles to design an efficient and ef.pdfaltajhaji20
 
Q1. Write a program that has an double array intArray[] that has .pdf
 Q1. Write a program that has an double array intArray[] that has .pdf Q1. Write a program that has an double array intArray[] that has .pdf
Q1. Write a program that has an double array intArray[] that has .pdfaltajhaji20
 
Q1 - Medical Diagnostic Database [30 points] You are given a file con.pdf
 Q1 - Medical Diagnostic Database [30 points] You are given a file con.pdf Q1 - Medical Diagnostic Database [30 points] You are given a file con.pdf
Q1 - Medical Diagnostic Database [30 points] You are given a file con.pdfaltajhaji20
 
Q.6 Let (X1,X2X3�,Xn)N(,1) and let prior distribution of be N(0,1).pdf
 Q.6 Let (X1,X2X3�,Xn)N(,1) and let prior distribution of  be N(0,1).pdf Q.6 Let (X1,X2X3�,Xn)N(,1) and let prior distribution of  be N(0,1).pdf
Q.6 Let (X1,X2X3�,Xn)N(,1) and let prior distribution of be N(0,1).pdfaltajhaji20
 
Q.3 L& A Infrastructure Ltd (L&A), a listed company seeks to acqu.pdf
 Q.3 L& A Infrastructure Ltd (L&A), a listed company seeks to acqu.pdf Q.3 L& A Infrastructure Ltd (L&A), a listed company seeks to acqu.pdf
Q.3 L& A Infrastructure Ltd (L&A), a listed company seeks to acqu.pdfaltajhaji20
 
Q. You have instance variable as name, age, id. And you have two memb.pdf
 Q. You have instance variable as name, age, id. And you have two memb.pdf Q. You have instance variable as name, age, id. And you have two memb.pdf
Q. You have instance variable as name, age, id. And you have two memb.pdfaltajhaji20
 
Q Presented below is information related to ABC Company. [[ A. Pre.pdf
 Q Presented below is information related to ABC Company. [[ A. Pre.pdf Q Presented below is information related to ABC Company. [[ A. Pre.pdf
Q Presented below is information related to ABC Company. [[ A. Pre.pdfaltajhaji20
 
Q.2 Allegro Company has gathered the following information. Require.pdf
 Q.2 Allegro Company has gathered the following information.  Require.pdf Q.2 Allegro Company has gathered the following information.  Require.pdf
Q.2 Allegro Company has gathered the following information. Require.pdfaltajhaji20
 
Q 4. (20 Points). Assign the location in the memory for the below SIC.pdf
 Q 4. (20 Points). Assign the location in the memory for the below SIC.pdf Q 4. (20 Points). Assign the location in the memory for the below SIC.pdf
Q 4. (20 Points). Assign the location in the memory for the below SIC.pdfaltajhaji20
 

More from altajhaji20 (20)

Q3 35000 Points The diagram on the left represents a quiescent center.pdf
 Q3 35000 Points The diagram on the left represents a quiescent center.pdf Q3 35000 Points The diagram on the left represents a quiescent center.pdf
Q3 35000 Points The diagram on the left represents a quiescent center.pdf
 
Q2.21. Which of the following statements about intraspecific competit.pdf
 Q2.21. Which of the following statements about intraspecific competit.pdf Q2.21. Which of the following statements about intraspecific competit.pdf
Q2.21. Which of the following statements about intraspecific competit.pdf
 
Q2.1 11000 Points The cloudy (cdy) recessive mutation causes seedling.pdf
 Q2.1 11000 Points The cloudy (cdy) recessive mutation causes seedling.pdf Q2.1 11000 Points The cloudy (cdy) recessive mutation causes seedling.pdf
Q2.1 11000 Points The cloudy (cdy) recessive mutation causes seedling.pdf
 
Q25 dominance 15 Points B is an allele that makes frogs green, whil.pdf
 Q25 dominance 15 Points B is an allele that makes frogs green, whil.pdf Q25 dominance 15 Points B is an allele that makes frogs green, whil.pdf
Q25 dominance 15 Points B is an allele that makes frogs green, whil.pdf
 
Q2. Match the graphs with their descriptions. DAG [ Choose ] a graph .pdf
 Q2. Match the graphs with their descriptions. DAG [ Choose ] a graph .pdf Q2. Match the graphs with their descriptions. DAG [ Choose ] a graph .pdf
Q2. Match the graphs with their descriptions. DAG [ Choose ] a graph .pdf
 
Q2. (10 Points) Indirect Addressing Mode Instruction 002D J@ RETADR 3.pdf
 Q2. (10 Points) Indirect Addressing Mode Instruction 002D J@ RETADR 3.pdf Q2. (10 Points) Indirect Addressing Mode Instruction 002D J@ RETADR 3.pdf
Q2. (10 Points) Indirect Addressing Mode Instruction 002D J@ RETADR 3.pdf
 
Q19 Glycolaldehyde 15 Points Glycolaldehyde inhibits the Calvin cyc.pdf
 Q19 Glycolaldehyde 15 Points Glycolaldehyde inhibits the Calvin cyc.pdf Q19 Glycolaldehyde 15 Points Glycolaldehyde inhibits the Calvin cyc.pdf
Q19 Glycolaldehyde 15 Points Glycolaldehyde inhibits the Calvin cyc.pdf
 
Q2 (10 points). Regarding SVB banks failure, please list at least tw.pdf
 Q2 (10 points). Regarding SVB banks failure, please list at least tw.pdf Q2 (10 points). Regarding SVB banks failure, please list at least tw.pdf
Q2 (10 points). Regarding SVB banks failure, please list at least tw.pdf
 
Q2 The repair and maintenance cost of a machine is $50,000 per yea.pdf
 Q2 The repair and maintenance cost of a machine is $50,000 per yea.pdf Q2 The repair and maintenance cost of a machine is $50,000 per yea.pdf
Q2 The repair and maintenance cost of a machine is $50,000 per yea.pdf
 
Q12 electron acceptor 15 Points What is the terminal electron accep.pdf
 Q12 electron acceptor 15 Points What is the terminal electron accep.pdf Q12 electron acceptor 15 Points What is the terminal electron accep.pdf
Q12 electron acceptor 15 Points What is the terminal electron accep.pdf
 
Q2 A discrete probability distribution is given by the table i) Find.pdf
 Q2 A discrete probability distribution is given by the table i) Find.pdf Q2 A discrete probability distribution is given by the table i) Find.pdf
Q2 A discrete probability distribution is given by the table i) Find.pdf
 
Q1. (1)What are the four principles to design an efficient and ef.pdf
 Q1. (1)What are the four principles to design an efficient and ef.pdf Q1. (1)What are the four principles to design an efficient and ef.pdf
Q1. (1)What are the four principles to design an efficient and ef.pdf
 
Q1. Write a program that has an double array intArray[] that has .pdf
 Q1. Write a program that has an double array intArray[] that has .pdf Q1. Write a program that has an double array intArray[] that has .pdf
Q1. Write a program that has an double array intArray[] that has .pdf
 
Q1 - Medical Diagnostic Database [30 points] You are given a file con.pdf
 Q1 - Medical Diagnostic Database [30 points] You are given a file con.pdf Q1 - Medical Diagnostic Database [30 points] You are given a file con.pdf
Q1 - Medical Diagnostic Database [30 points] You are given a file con.pdf
 
Q.6 Let (X1,X2X3�,Xn)N(,1) and let prior distribution of be N(0,1).pdf
 Q.6 Let (X1,X2X3�,Xn)N(,1) and let prior distribution of  be N(0,1).pdf Q.6 Let (X1,X2X3�,Xn)N(,1) and let prior distribution of  be N(0,1).pdf
Q.6 Let (X1,X2X3�,Xn)N(,1) and let prior distribution of be N(0,1).pdf
 
Q.3 L& A Infrastructure Ltd (L&A), a listed company seeks to acqu.pdf
 Q.3 L& A Infrastructure Ltd (L&A), a listed company seeks to acqu.pdf Q.3 L& A Infrastructure Ltd (L&A), a listed company seeks to acqu.pdf
Q.3 L& A Infrastructure Ltd (L&A), a listed company seeks to acqu.pdf
 
Q. You have instance variable as name, age, id. And you have two memb.pdf
 Q. You have instance variable as name, age, id. And you have two memb.pdf Q. You have instance variable as name, age, id. And you have two memb.pdf
Q. You have instance variable as name, age, id. And you have two memb.pdf
 
Q Presented below is information related to ABC Company. [[ A. Pre.pdf
 Q Presented below is information related to ABC Company. [[ A. Pre.pdf Q Presented below is information related to ABC Company. [[ A. Pre.pdf
Q Presented below is information related to ABC Company. [[ A. Pre.pdf
 
Q.2 Allegro Company has gathered the following information. Require.pdf
 Q.2 Allegro Company has gathered the following information.  Require.pdf Q.2 Allegro Company has gathered the following information.  Require.pdf
Q.2 Allegro Company has gathered the following information. Require.pdf
 
Q 4. (20 Points). Assign the location in the memory for the below SIC.pdf
 Q 4. (20 Points). Assign the location in the memory for the below SIC.pdf Q 4. (20 Points). Assign the location in the memory for the below SIC.pdf
Q 4. (20 Points). Assign the location in the memory for the below SIC.pdf
 

Recently uploaded

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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
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
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.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
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use CasesTechSoup
 
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
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
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
 
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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
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
 
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
 
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
 
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
 

Recently uploaded (20)

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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
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Ă...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.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
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
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
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
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_...
 
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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
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
 
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
 
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
 
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
 

public class weird { public static void main(String[] args){ int nu.pdf

  • 1. public class weird { public static void main(String[] args){ int number =8 halfthefun(11); halfthefun (23+28) halfthefun(number); System.out.println("number =" + number); } public static void halfthefun(int number) { number = number /2; for (int count =1; count <= number; count ++){ System.out.print(count +""); } System.out.println();