SlideShare a Scribd company logo
1 of 1
(1) Write a C program that includes a function called lobster()
that accepts three arguments: a character and two integers. The
character argument is the character to be printed by lobster().
The second argument is the number of times that the character
will be printed on a row. The third argument is the number of
rows to be printed. Call your function from within your program
in order to demonstrate that it works (use 'z', 3, 5 as
parameters). Comment your code, make sure it looks
professional, and use meaningful variable names.
(2) Write a C program that includes a function called moveEm()
that accepts the ADDRESSES of three double variables as input.
The function should move the value of the smallest variable into
the first variable, the middle value into the middle variable, and
the largest value into the third variable. Call your function from
within your program using the arguments 7.8, 3.5, and 1.1 in
order to demonstrate that it works (make sure your logic works
for any order of largest, smallest, middle however). Comment
your code, make sure it looks professional, and use meaningful
variable names. (NOTE: This function does something similar
to swap3.c--I recommend using it as a model.)
For example: if I had three double variables as follows: x=7.8,
y=3.5, z=1.1 then I would call moveEm like so:
moveEm(&x, &y, &z);
After moveEm() returned x would contain 1.1, y would contain
3.5, and z would contain 7.8.

More Related Content

Similar to (1) Write a C program that includes a function called lobster() that.docx

C programming language
C programming languageC programming language
C programming languageAbin Rimal
 
Project 2 MARIE Start code at bottom of document1. IntroductionT.docx
Project 2 MARIE Start code at bottom of document1. IntroductionT.docxProject 2 MARIE Start code at bottom of document1. IntroductionT.docx
Project 2 MARIE Start code at bottom of document1. IntroductionT.docxbriancrawford30935
 
Important notes· NOTE it is usually fine and often encouraged i.docx
Important notes· NOTE it is usually fine and often encouraged i.docxImportant notes· NOTE it is usually fine and often encouraged i.docx
Important notes· NOTE it is usually fine and often encouraged i.docxwilcockiris
 
Task Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfTask Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfacsmadurai
 
ISTA 130 Lab 21 Turtle ReviewHere are all of the turt.docx
ISTA 130 Lab 21 Turtle ReviewHere are all of the turt.docxISTA 130 Lab 21 Turtle ReviewHere are all of the turt.docx
ISTA 130 Lab 21 Turtle ReviewHere are all of the turt.docxpriestmanmable
 
ECS 40 Program #1 (50 points, my time 2.5 hours) .docx
ECS 40           Program #1 (50 points, my time 2.5 hours)    .docxECS 40           Program #1 (50 points, my time 2.5 hours)    .docx
ECS 40 Program #1 (50 points, my time 2.5 hours) .docxjack60216
 
FSTREAM,ASSERT LIBRARY & CTYPE LIBRARY.
FSTREAM,ASSERT LIBRARY & CTYPE LIBRARY.FSTREAM,ASSERT LIBRARY & CTYPE LIBRARY.
FSTREAM,ASSERT LIBRARY & CTYPE LIBRARY.Meghaj Mallick
 
VB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptVB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptBhuvanaR13
 
OODP UNIT 2 Function overloading
OODP UNIT 2 Function overloadingOODP UNIT 2 Function overloading
OODP UNIT 2 Function overloadingShanmuganathan C
 
ECS 40 Program #3 (50 points, my time 1.5 hours) Spring 2015 .docx
ECS 40 Program #3 (50 points, my time 1.5 hours) Spring 2015 .docxECS 40 Program #3 (50 points, my time 1.5 hours) Spring 2015 .docx
ECS 40 Program #3 (50 points, my time 1.5 hours) Spring 2015 .docxjack60216
 
Building blocks 2
Building blocks 2Building blocks 2
Building blocks 2NAZIRGUJJAR
 
Complete C programming Language Course
Complete C programming Language CourseComplete C programming Language Course
Complete C programming Language CourseVivek chan
 
Intermediate code- generation
Intermediate code- generationIntermediate code- generation
Intermediate code- generationrawan_z
 
C programming session 04
C programming session 04C programming session 04
C programming session 04Dushmanta Nath
 

Similar to (1) Write a C program that includes a function called lobster() that.docx (20)

C programming language
C programming languageC programming language
C programming language
 
Project 2 MARIE Start code at bottom of document1. IntroductionT.docx
Project 2 MARIE Start code at bottom of document1. IntroductionT.docxProject 2 MARIE Start code at bottom of document1. IntroductionT.docx
Project 2 MARIE Start code at bottom of document1. IntroductionT.docx
 
Chapter 1.ppt
Chapter 1.pptChapter 1.ppt
Chapter 1.ppt
 
Function
FunctionFunction
Function
 
C++ Homework Help
C++ Homework HelpC++ Homework Help
C++ Homework Help
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Important notes· NOTE it is usually fine and often encouraged i.docx
Important notes· NOTE it is usually fine and often encouraged i.docxImportant notes· NOTE it is usually fine and often encouraged i.docx
Important notes· NOTE it is usually fine and often encouraged i.docx
 
Task Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfTask Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdf
 
ISTA 130 Lab 21 Turtle ReviewHere are all of the turt.docx
ISTA 130 Lab 21 Turtle ReviewHere are all of the turt.docxISTA 130 Lab 21 Turtle ReviewHere are all of the turt.docx
ISTA 130 Lab 21 Turtle ReviewHere are all of the turt.docx
 
ECS 40 Program #1 (50 points, my time 2.5 hours) .docx
ECS 40           Program #1 (50 points, my time 2.5 hours)    .docxECS 40           Program #1 (50 points, my time 2.5 hours)    .docx
ECS 40 Program #1 (50 points, my time 2.5 hours) .docx
 
FSTREAM,ASSERT LIBRARY & CTYPE LIBRARY.
FSTREAM,ASSERT LIBRARY & CTYPE LIBRARY.FSTREAM,ASSERT LIBRARY & CTYPE LIBRARY.
FSTREAM,ASSERT LIBRARY & CTYPE LIBRARY.
 
VB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptVB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.ppt
 
c++ referesher 1.pdf
c++ referesher 1.pdfc++ referesher 1.pdf
c++ referesher 1.pdf
 
OODP UNIT 2 Function overloading
OODP UNIT 2 Function overloadingOODP UNIT 2 Function overloading
OODP UNIT 2 Function overloading
 
ECS 40 Program #3 (50 points, my time 1.5 hours) Spring 2015 .docx
ECS 40 Program #3 (50 points, my time 1.5 hours) Spring 2015 .docxECS 40 Program #3 (50 points, my time 1.5 hours) Spring 2015 .docx
ECS 40 Program #3 (50 points, my time 1.5 hours) Spring 2015 .docx
 
Building blocks 2
Building blocks 2Building blocks 2
Building blocks 2
 
Complete C programming Language Course
Complete C programming Language CourseComplete C programming Language Course
Complete C programming Language Course
 
Functions
FunctionsFunctions
Functions
 
Intermediate code- generation
Intermediate code- generationIntermediate code- generation
Intermediate code- generation
 
C programming session 04
C programming session 04C programming session 04
C programming session 04
 

More from joney4

. in 150-175 words......Explain whether you prefer the representat.docx
. in 150-175 words......Explain whether you prefer the representat.docx. in 150-175 words......Explain whether you prefer the representat.docx
. in 150-175 words......Explain whether you prefer the representat.docxjoney4
 
-What issues could arise when a panicked public believes it has been.docx
-What issues could arise when a panicked public believes it has been.docx-What issues could arise when a panicked public believes it has been.docx
-What issues could arise when a panicked public believes it has been.docxjoney4
 
-The topic is about Hopi American Native tribe-Write an effective .docx
-The topic is about Hopi American Native tribe-Write an effective .docx-The topic is about Hopi American Native tribe-Write an effective .docx
-The topic is about Hopi American Native tribe-Write an effective .docxjoney4
 
-The focus of this assignment is identifying patient’s needs and ana.docx
-The focus of this assignment is identifying patient’s needs and ana.docx-The focus of this assignment is identifying patient’s needs and ana.docx
-The focus of this assignment is identifying patient’s needs and ana.docxjoney4
 
-Health Behavior Project ( Increase the habit of drinking wa.docx
-Health Behavior Project ( Increase the habit of drinking wa.docx-Health Behavior Project ( Increase the habit of drinking wa.docx
-Health Behavior Project ( Increase the habit of drinking wa.docxjoney4
 
. Make sure you explain how the following elements emerge within t.docx
. Make sure you explain how the following elements emerge within t.docx. Make sure you explain how the following elements emerge within t.docx
. Make sure you explain how the following elements emerge within t.docxjoney4
 
-2.5 pages-2 hours-APA formatWill be checking for plag.docx
-2.5 pages-2 hours-APA formatWill be checking for plag.docx-2.5 pages-2 hours-APA formatWill be checking for plag.docx
-2.5 pages-2 hours-APA formatWill be checking for plag.docxjoney4
 
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docxjoney4
 
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docxjoney4
 
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docxjoney4
 
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docxjoney4
 
-Executive summary A brief summary of the case (what the case.docx
-Executive summary A brief summary of the case (what the case.docx-Executive summary A brief summary of the case (what the case.docx
-Executive summary A brief summary of the case (what the case.docxjoney4
 
- the body of the essay should contain the meat of the argument. you.docx
- the body of the essay should contain the meat of the argument. you.docx- the body of the essay should contain the meat of the argument. you.docx
- the body of the essay should contain the meat of the argument. you.docxjoney4
 
,submit a two page class reflections assignment in which you wil.docx
,submit a two page class reflections assignment in which you wil.docx,submit a two page class reflections assignment in which you wil.docx
,submit a two page class reflections assignment in which you wil.docxjoney4
 
,I’m doing research writing about the benefits of social media.docx
,I’m doing research writing about the benefits of social media.docx,I’m doing research writing about the benefits of social media.docx
,I’m doing research writing about the benefits of social media.docxjoney4
 
,I will attach the word file and it has all the instructions.I n.docx
,I will attach the word file and it has all the instructions.I n.docx,I will attach the word file and it has all the instructions.I n.docx
,I will attach the word file and it has all the instructions.I n.docxjoney4
 
,Check out attachments and read instructions before you make Hand .docx
,Check out attachments and read instructions before you make Hand .docx,Check out attachments and read instructions before you make Hand .docx
,Check out attachments and read instructions before you make Hand .docxjoney4
 
, you will pick a different disciplinary perspective from the .docx
, you will pick a different disciplinary perspective from the .docx, you will pick a different disciplinary perspective from the .docx
, you will pick a different disciplinary perspective from the .docxjoney4
 
,I’m doing research writing about the benefits of social media ..docx
,I’m doing research writing about the benefits of social media ..docx,I’m doing research writing about the benefits of social media ..docx
,I’m doing research writing about the benefits of social media ..docxjoney4
 
,Check out attachments and read instructions before you make Hand.docx
,Check out attachments and read instructions before you make Hand.docx,Check out attachments and read instructions before you make Hand.docx
,Check out attachments and read instructions before you make Hand.docxjoney4
 

More from joney4 (20)

. in 150-175 words......Explain whether you prefer the representat.docx
. in 150-175 words......Explain whether you prefer the representat.docx. in 150-175 words......Explain whether you prefer the representat.docx
. in 150-175 words......Explain whether you prefer the representat.docx
 
-What issues could arise when a panicked public believes it has been.docx
-What issues could arise when a panicked public believes it has been.docx-What issues could arise when a panicked public believes it has been.docx
-What issues could arise when a panicked public believes it has been.docx
 
-The topic is about Hopi American Native tribe-Write an effective .docx
-The topic is about Hopi American Native tribe-Write an effective .docx-The topic is about Hopi American Native tribe-Write an effective .docx
-The topic is about Hopi American Native tribe-Write an effective .docx
 
-The focus of this assignment is identifying patient’s needs and ana.docx
-The focus of this assignment is identifying patient’s needs and ana.docx-The focus of this assignment is identifying patient’s needs and ana.docx
-The focus of this assignment is identifying patient’s needs and ana.docx
 
-Health Behavior Project ( Increase the habit of drinking wa.docx
-Health Behavior Project ( Increase the habit of drinking wa.docx-Health Behavior Project ( Increase the habit of drinking wa.docx
-Health Behavior Project ( Increase the habit of drinking wa.docx
 
. Make sure you explain how the following elements emerge within t.docx
. Make sure you explain how the following elements emerge within t.docx. Make sure you explain how the following elements emerge within t.docx
. Make sure you explain how the following elements emerge within t.docx
 
-2.5 pages-2 hours-APA formatWill be checking for plag.docx
-2.5 pages-2 hours-APA formatWill be checking for plag.docx-2.5 pages-2 hours-APA formatWill be checking for plag.docx
-2.5 pages-2 hours-APA formatWill be checking for plag.docx
 
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
-2.5 pages-2 hours-APA formatWill be checking for plagiarism.docx
 
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
-2- 2.5pages- Times New Roman, 12 font-APA format (At least 4 .docx
 
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
- Vermeers Woman Holding a Balance (Figure 25-19)- Discuss the .docx
 
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
-Write a 5-6 page paper (other then the opning page)- Using Voltai.docx
 
-Executive summary A brief summary of the case (what the case.docx
-Executive summary A brief summary of the case (what the case.docx-Executive summary A brief summary of the case (what the case.docx
-Executive summary A brief summary of the case (what the case.docx
 
- the body of the essay should contain the meat of the argument. you.docx
- the body of the essay should contain the meat of the argument. you.docx- the body of the essay should contain the meat of the argument. you.docx
- the body of the essay should contain the meat of the argument. you.docx
 
,submit a two page class reflections assignment in which you wil.docx
,submit a two page class reflections assignment in which you wil.docx,submit a two page class reflections assignment in which you wil.docx
,submit a two page class reflections assignment in which you wil.docx
 
,I’m doing research writing about the benefits of social media.docx
,I’m doing research writing about the benefits of social media.docx,I’m doing research writing about the benefits of social media.docx
,I’m doing research writing about the benefits of social media.docx
 
,I will attach the word file and it has all the instructions.I n.docx
,I will attach the word file and it has all the instructions.I n.docx,I will attach the word file and it has all the instructions.I n.docx
,I will attach the word file and it has all the instructions.I n.docx
 
,Check out attachments and read instructions before you make Hand .docx
,Check out attachments and read instructions before you make Hand .docx,Check out attachments and read instructions before you make Hand .docx
,Check out attachments and read instructions before you make Hand .docx
 
, you will pick a different disciplinary perspective from the .docx
, you will pick a different disciplinary perspective from the .docx, you will pick a different disciplinary perspective from the .docx
, you will pick a different disciplinary perspective from the .docx
 
,I’m doing research writing about the benefits of social media ..docx
,I’m doing research writing about the benefits of social media ..docx,I’m doing research writing about the benefits of social media ..docx
,I’m doing research writing about the benefits of social media ..docx
 
,Check out attachments and read instructions before you make Hand.docx
,Check out attachments and read instructions before you make Hand.docx,Check out attachments and read instructions before you make Hand.docx
,Check out attachments and read instructions before you make Hand.docx
 

Recently uploaded

Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 

Recently uploaded (20)

Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 

(1) Write a C program that includes a function called lobster() that.docx

  • 1. (1) Write a C program that includes a function called lobster() that accepts three arguments: a character and two integers. The character argument is the character to be printed by lobster(). The second argument is the number of times that the character will be printed on a row. The third argument is the number of rows to be printed. Call your function from within your program in order to demonstrate that it works (use 'z', 3, 5 as parameters). Comment your code, make sure it looks professional, and use meaningful variable names. (2) Write a C program that includes a function called moveEm() that accepts the ADDRESSES of three double variables as input. The function should move the value of the smallest variable into the first variable, the middle value into the middle variable, and the largest value into the third variable. Call your function from within your program using the arguments 7.8, 3.5, and 1.1 in order to demonstrate that it works (make sure your logic works for any order of largest, smallest, middle however). Comment your code, make sure it looks professional, and use meaningful variable names. (NOTE: This function does something similar to swap3.c--I recommend using it as a model.) For example: if I had three double variables as follows: x=7.8, y=3.5, z=1.1 then I would call moveEm like so: moveEm(&x, &y, &z); After moveEm() returned x would contain 1.1, y would contain 3.5, and z would contain 7.8.