SlideShare a Scribd company logo
Exercise 4: Write a C function that takes a positive integer n as an argument and returns 1 if n is
prime, and 0 otherwise.

More Related Content

More from anbika110

Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
 Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
anbika110
 
Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
anbika110
 
Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
 Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
anbika110
 
Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
anbika110
 
Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
 Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
anbika110
 
Fill in the array with the values that would be stored after the code.pdf
 Fill in the array with the values that would be stored after the code.pdf Fill in the array with the values that would be stored after the code.pdf
Fill in the array with the values that would be stored after the code.pdf
anbika110
 
Figure 3 People with no qualifications and degree level qualificatio.pdf
 Figure 3 People with no qualifications and degree level qualificatio.pdf Figure 3 People with no qualifications and degree level qualificatio.pdf
Figure 3 People with no qualifications and degree level qualificatio.pdf
anbika110
 
Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
 Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
anbika110
 
FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
 FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
anbika110
 
Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
 Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
anbika110
 
Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
 Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
anbika110
 
Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
 Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
anbika110
 
Figure External Benefits The distance between point E and point M re.pdf
 Figure External Benefits The distance between point E and point M re.pdf Figure External Benefits The distance between point E and point M re.pdf
Figure External Benefits The distance between point E and point M re.pdf
anbika110
 
Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
 Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
anbika110
 
fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
 fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
anbika110
 
Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
 Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
anbika110
 
Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
 Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
anbika110
 
Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
 Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
anbika110
 
Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
 Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
anbika110
 
Extra Credit 10 Points Suppose that X is a standard normal random va.pdf
 Extra Credit 10 Points Suppose that X is a standard normal random va.pdf Extra Credit 10 Points Suppose that X is a standard normal random va.pdf
Extra Credit 10 Points Suppose that X is a standard normal random va.pdf
anbika110
 

More from anbika110 (20)

Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
 Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
 
Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 
Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
 Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
 
Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 
Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
 Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
 
Fill in the array with the values that would be stored after the code.pdf
 Fill in the array with the values that would be stored after the code.pdf Fill in the array with the values that would be stored after the code.pdf
Fill in the array with the values that would be stored after the code.pdf
 
Figure 3 People with no qualifications and degree level qualificatio.pdf
 Figure 3 People with no qualifications and degree level qualificatio.pdf Figure 3 People with no qualifications and degree level qualificatio.pdf
Figure 3 People with no qualifications and degree level qualificatio.pdf
 
Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
 Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
 
FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
 FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
 
Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
 Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
 
Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
 Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
 
Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
 Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
 
Figure External Benefits The distance between point E and point M re.pdf
 Figure External Benefits The distance between point E and point M re.pdf Figure External Benefits The distance between point E and point M re.pdf
Figure External Benefits The distance between point E and point M re.pdf
 
Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
 Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
 
fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
 fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
 
Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
 Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
 
Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
 Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
 
Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
 Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
 
Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
 Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
 
Extra Credit 10 Points Suppose that X is a standard normal random va.pdf
 Extra Credit 10 Points Suppose that X is a standard normal random va.pdf Extra Credit 10 Points Suppose that X is a standard normal random va.pdf
Extra Credit 10 Points Suppose that X is a standard normal random va.pdf
 

Recently uploaded

Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
TechSoup
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
sanamushtaq922
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGHKHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
shreyassri1208
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
Kalna College
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
Kalna College
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
RandolphRadicy
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 

Recently uploaded (20)

Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGHKHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 

Exercise 4 Write a C function that takes a positive integer n as an .pdf

  • 1. Exercise 4: Write a C function that takes a positive integer n as an argument and returns 1 if n is prime, and 0 otherwise.