SlideShare une entreprise Scribd logo
1  sur  1
Please write in C thank you
Intro to Programming in C -program 4 (larger program) Assignment purpose: To compile, build,
and execute an interactive program using functions from stdio.h (printf and scanf), math in C ,
conditions, a while loop, and programmer defined functions.
#define_CRT_SECURE_NO_WARNINGS //for Visual studio compiler Instructions: For this
assignment you will be implementing a program that simulates a banking application with 2
accounts: checking and savings Please use an app with 7 MENU OPTIONS 1. Initialize the
balance in the checking account to $276.20 2. Initialize the balance in the savings account to
$124.61 3. The program will welcome the user with a friendly message and instructions. 4.
Display the balance in both accounts at the start of execution 5. Display the item options: (1) to
DEPOSIT to CHECKING ACCOUNT (2) to WITHDRAW from CHECKING ACCOUNT (3)
to DEPOSIT to SAVINGS ACCOUNT (4) to WITHDRAW from SAVINGS ACCOUNT (5) to
display CHECKING ACCOUNT BALANCE (6) to display SAVINGS ACCOUNT BALANCE
(-1) to QUIT 6. The user will make the selection based on the item number 7. The user may
continue to use the bank app until entering (-1) to QUIT Use the following programmer defined
functions. DO NOT modify the Functions: //greets the user void Greeting O ; // Displays the list
of options available //prompts for the user's selection and returns that value int RunBankChoices
( ; //Input: one double and one character // displays the balance of the account (' C ', checking or '
S ', savings) void DisplayBalance(double accountBalance, char account); //Input: one double and
one character //declare, ask, and get the amount from the user and add it to the account //return
the updated balance ('C', checking or ' S ', savings) double DepositMoney(double
accountBalance, char account); //Input: one double and one character // declare, ask, and get the
amount from the user //subtract the money from the account if available //return the updated
balance (' C ', checking or ' S ', savings) double WithdrawMoney (double accountBalance, char
account);

Contenu connexe

Similaire à Please write in C thank you Intro to Programming in C-program 4 (large.docx

1-What are the opportunities and threats that could impact the org
1-What are the opportunities and threats that could impact the org1-What are the opportunities and threats that could impact the org
1-What are the opportunities and threats that could impact the orgAbbyWhyte974
 
1-What are the opportunities and threats that could impact the org
1-What are the opportunities and threats that could impact the org1-What are the opportunities and threats that could impact the org
1-What are the opportunities and threats that could impact the orgMartineMccracken314
 
Consider this C++ BankAccount class with the following public member.pdf
Consider this C++ BankAccount class with the following public member.pdfConsider this C++ BankAccount class with the following public member.pdf
Consider this C++ BankAccount class with the following public member.pdfarchigallery1298
 
Banks offer various types of accounts, such as savings, checking, cer.pdf
Banks offer various types of accounts, such as savings, checking, cer.pdfBanks offer various types of accounts, such as savings, checking, cer.pdf
Banks offer various types of accounts, such as savings, checking, cer.pdfrajeshjain2109
 
"Bank management system"
"Bank management system""Bank management system"
"Bank management system"vivek kct
 
Hi,I have updated the code as per your requirement. Highlighted th.pdf
Hi,I have updated the code as per your requirement. Highlighted th.pdfHi,I have updated the code as per your requirement. Highlighted th.pdf
Hi,I have updated the code as per your requirement. Highlighted th.pdfannaindustries
 
Oracle cash management_Anne
Oracle cash management_AnneOracle cash management_Anne
Oracle cash management_Anneanuraj-sandhu
 
JAVA PROJECT REPORT.pptx
JAVA PROJECT REPORT.pptxJAVA PROJECT REPORT.pptx
JAVA PROJECT REPORT.pptxAbhiramAleti
 
Bank Management System project
Bank Management System projectBank Management System project
Bank Management System projectGolamRabbaniMithu
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7ashhadiqbal
 
Lo39
Lo39Lo39
Lo39lksoo
 

Similaire à Please write in C thank you Intro to Programming in C-program 4 (large.docx (14)

1-What are the opportunities and threats that could impact the org
1-What are the opportunities and threats that could impact the org1-What are the opportunities and threats that could impact the org
1-What are the opportunities and threats that could impact the org
 
1-What are the opportunities and threats that could impact the org
1-What are the opportunities and threats that could impact the org1-What are the opportunities and threats that could impact the org
1-What are the opportunities and threats that could impact the org
 
Refunds to Customer.doc
Refunds to Customer.docRefunds to Customer.doc
Refunds to Customer.doc
 
Consider this C++ BankAccount class with the following public member.pdf
Consider this C++ BankAccount class with the following public member.pdfConsider this C++ BankAccount class with the following public member.pdf
Consider this C++ BankAccount class with the following public member.pdf
 
Banks offer various types of accounts, such as savings, checking, cer.pdf
Banks offer various types of accounts, such as savings, checking, cer.pdfBanks offer various types of accounts, such as savings, checking, cer.pdf
Banks offer various types of accounts, such as savings, checking, cer.pdf
 
"Bank management system"
"Bank management system""Bank management system"
"Bank management system"
 
Bank Management System
Bank Management SystemBank Management System
Bank Management System
 
Hi,I have updated the code as per your requirement. Highlighted th.pdf
Hi,I have updated the code as per your requirement. Highlighted th.pdfHi,I have updated the code as per your requirement. Highlighted th.pdf
Hi,I have updated the code as per your requirement. Highlighted th.pdf
 
Oracle cash management_Anne
Oracle cash management_AnneOracle cash management_Anne
Oracle cash management_Anne
 
JAVA PROJECT REPORT.pptx
JAVA PROJECT REPORT.pptxJAVA PROJECT REPORT.pptx
JAVA PROJECT REPORT.pptx
 
Bank Management System project
Bank Management System projectBank Management System project
Bank Management System project
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7
 
08
0808
08
 
Lo39
Lo39Lo39
Lo39
 

Plus de AndrewZJ9Mitchellm

Problem 1 print(-Problem 1-) Using a sentinel controlled while loop.docx
Problem 1 print(-Problem 1-)   Using a sentinel controlled while loop.docxProblem 1 print(-Problem 1-)   Using a sentinel controlled while loop.docx
Problem 1 print(-Problem 1-) Using a sentinel controlled while loop.docxAndrewZJ9Mitchellm
 
Prions are scientifically controversial because- Group of answer choic.docx
Prions are scientifically controversial because- Group of answer choic.docxPrions are scientifically controversial because- Group of answer choic.docx
Prions are scientifically controversial because- Group of answer choic.docxAndrewZJ9Mitchellm
 
Prince Naveen goes grocery shopping and carelessly leaves his checkboo.docx
Prince Naveen goes grocery shopping and carelessly leaves his checkboo.docxPrince Naveen goes grocery shopping and carelessly leaves his checkboo.docx
Prince Naveen goes grocery shopping and carelessly leaves his checkboo.docxAndrewZJ9Mitchellm
 
Prepare a 6-8 page paper defining the issue and the need for advocacy-.docx
Prepare a 6-8 page paper defining the issue and the need for advocacy-.docxPrepare a 6-8 page paper defining the issue and the need for advocacy-.docx
Prepare a 6-8 page paper defining the issue and the need for advocacy-.docxAndrewZJ9Mitchellm
 
pose the Statements Found Below That Most Accurately Describe Locomoti.docx
pose the Statements Found Below That Most Accurately Describe Locomoti.docxpose the Statements Found Below That Most Accurately Describe Locomoti.docx
pose the Statements Found Below That Most Accurately Describe Locomoti.docxAndrewZJ9Mitchellm
 
Pneumocystis jiroveci is believed to be spread via which of the follow.docx
Pneumocystis jiroveci is believed to be spread via which of the follow.docxPneumocystis jiroveci is believed to be spread via which of the follow.docx
Pneumocystis jiroveci is believed to be spread via which of the follow.docxAndrewZJ9Mitchellm
 
Prepare ideas for possible sponsorship activities on the part of the p.docx
Prepare ideas for possible sponsorship activities on the part of the p.docxPrepare ideas for possible sponsorship activities on the part of the p.docx
Prepare ideas for possible sponsorship activities on the part of the p.docxAndrewZJ9Mitchellm
 
Prepare a learning-Reflection report on the importance of cost managem.docx
Prepare a learning-Reflection report on the importance of cost managem.docxPrepare a learning-Reflection report on the importance of cost managem.docx
Prepare a learning-Reflection report on the importance of cost managem.docxAndrewZJ9Mitchellm
 
Please- answers all my question is for genetic class 3- Describe the.docx
Please- answers all my question is for  genetic class 3- Describe the.docxPlease- answers all my question is for  genetic class 3- Describe the.docx
Please- answers all my question is for genetic class 3- Describe the.docxAndrewZJ9Mitchellm
 
Poverty and Inequality 1- Know some basic trends in GDP and poverty ov.docx
Poverty and Inequality 1- Know some basic trends in GDP and poverty ov.docxPoverty and Inequality 1- Know some basic trends in GDP and poverty ov.docx
Poverty and Inequality 1- Know some basic trends in GDP and poverty ov.docxAndrewZJ9Mitchellm
 
Prepare Multiple-Step and Single-Step Income Statements FACTS The foll.docx
Prepare Multiple-Step and Single-Step Income Statements FACTS The foll.docxPrepare Multiple-Step and Single-Step Income Statements FACTS The foll.docx
Prepare Multiple-Step and Single-Step Income Statements FACTS The foll.docxAndrewZJ9Mitchellm
 
Porter's Model identifies four factors that- working together- can res.docx
Porter's Model identifies four factors that- working together- can res.docxPorter's Model identifies four factors that- working together- can res.docx
Porter's Model identifies four factors that- working together- can res.docxAndrewZJ9Mitchellm
 
Plot the following two functions on separate figures- Use plenty of va.docx
Plot the following two functions on separate figures- Use plenty of va.docxPlot the following two functions on separate figures- Use plenty of va.docx
Plot the following two functions on separate figures- Use plenty of va.docxAndrewZJ9Mitchellm
 
Q1- Hemochromatosis is a rare autosomal recessive Mendelian disease- Y.docx
Q1- Hemochromatosis is a rare autosomal recessive Mendelian disease- Y.docxQ1- Hemochromatosis is a rare autosomal recessive Mendelian disease- Y.docx
Q1- Hemochromatosis is a rare autosomal recessive Mendelian disease- Y.docxAndrewZJ9Mitchellm
 
Q(3) The probability that a married man watches a certain television s.docx
Q(3) The probability that a married man watches a certain television s.docxQ(3) The probability that a married man watches a certain television s.docx
Q(3) The probability that a married man watches a certain television s.docxAndrewZJ9Mitchellm
 
Put steps of the Westem blot in order Drag and drop options into corre.docx
Put steps of the Westem blot in order Drag and drop options into corre.docxPut steps of the Westem blot in order Drag and drop options into corre.docx
Put steps of the Westem blot in order Drag and drop options into corre.docxAndrewZJ9Mitchellm
 
Python Which regular expression matches any positive decimal integer n.docx
Python Which regular expression matches any positive decimal integer n.docxPython Which regular expression matches any positive decimal integer n.docx
Python Which regular expression matches any positive decimal integer n.docxAndrewZJ9Mitchellm
 
Python Create an app that contains the following- - Input a name- majo.docx
Python Create an app that contains the following- - Input a name- majo.docxPython Create an app that contains the following- - Input a name- majo.docx
Python Create an app that contains the following- - Input a name- majo.docxAndrewZJ9Mitchellm
 
Purpose The purpose of this Activity is to demonstrate your understand.docx
Purpose The purpose of this Activity is to demonstrate your understand.docxPurpose The purpose of this Activity is to demonstrate your understand.docx
Purpose The purpose of this Activity is to demonstrate your understand.docxAndrewZJ9Mitchellm
 
Put the stages of bacteriophage replication in order- Lysis of host.docx
Put the stages of bacteriophage replication in order-   Lysis of host.docxPut the stages of bacteriophage replication in order-   Lysis of host.docx
Put the stages of bacteriophage replication in order- Lysis of host.docxAndrewZJ9Mitchellm
 

Plus de AndrewZJ9Mitchellm (20)

Problem 1 print(-Problem 1-) Using a sentinel controlled while loop.docx
Problem 1 print(-Problem 1-)   Using a sentinel controlled while loop.docxProblem 1 print(-Problem 1-)   Using a sentinel controlled while loop.docx
Problem 1 print(-Problem 1-) Using a sentinel controlled while loop.docx
 
Prions are scientifically controversial because- Group of answer choic.docx
Prions are scientifically controversial because- Group of answer choic.docxPrions are scientifically controversial because- Group of answer choic.docx
Prions are scientifically controversial because- Group of answer choic.docx
 
Prince Naveen goes grocery shopping and carelessly leaves his checkboo.docx
Prince Naveen goes grocery shopping and carelessly leaves his checkboo.docxPrince Naveen goes grocery shopping and carelessly leaves his checkboo.docx
Prince Naveen goes grocery shopping and carelessly leaves his checkboo.docx
 
Prepare a 6-8 page paper defining the issue and the need for advocacy-.docx
Prepare a 6-8 page paper defining the issue and the need for advocacy-.docxPrepare a 6-8 page paper defining the issue and the need for advocacy-.docx
Prepare a 6-8 page paper defining the issue and the need for advocacy-.docx
 
pose the Statements Found Below That Most Accurately Describe Locomoti.docx
pose the Statements Found Below That Most Accurately Describe Locomoti.docxpose the Statements Found Below That Most Accurately Describe Locomoti.docx
pose the Statements Found Below That Most Accurately Describe Locomoti.docx
 
Pneumocystis jiroveci is believed to be spread via which of the follow.docx
Pneumocystis jiroveci is believed to be spread via which of the follow.docxPneumocystis jiroveci is believed to be spread via which of the follow.docx
Pneumocystis jiroveci is believed to be spread via which of the follow.docx
 
Prepare ideas for possible sponsorship activities on the part of the p.docx
Prepare ideas for possible sponsorship activities on the part of the p.docxPrepare ideas for possible sponsorship activities on the part of the p.docx
Prepare ideas for possible sponsorship activities on the part of the p.docx
 
Prepare a learning-Reflection report on the importance of cost managem.docx
Prepare a learning-Reflection report on the importance of cost managem.docxPrepare a learning-Reflection report on the importance of cost managem.docx
Prepare a learning-Reflection report on the importance of cost managem.docx
 
Please- answers all my question is for genetic class 3- Describe the.docx
Please- answers all my question is for  genetic class 3- Describe the.docxPlease- answers all my question is for  genetic class 3- Describe the.docx
Please- answers all my question is for genetic class 3- Describe the.docx
 
Poverty and Inequality 1- Know some basic trends in GDP and poverty ov.docx
Poverty and Inequality 1- Know some basic trends in GDP and poverty ov.docxPoverty and Inequality 1- Know some basic trends in GDP and poverty ov.docx
Poverty and Inequality 1- Know some basic trends in GDP and poverty ov.docx
 
Prepare Multiple-Step and Single-Step Income Statements FACTS The foll.docx
Prepare Multiple-Step and Single-Step Income Statements FACTS The foll.docxPrepare Multiple-Step and Single-Step Income Statements FACTS The foll.docx
Prepare Multiple-Step and Single-Step Income Statements FACTS The foll.docx
 
Porter's Model identifies four factors that- working together- can res.docx
Porter's Model identifies four factors that- working together- can res.docxPorter's Model identifies four factors that- working together- can res.docx
Porter's Model identifies four factors that- working together- can res.docx
 
Plot the following two functions on separate figures- Use plenty of va.docx
Plot the following two functions on separate figures- Use plenty of va.docxPlot the following two functions on separate figures- Use plenty of va.docx
Plot the following two functions on separate figures- Use plenty of va.docx
 
Q1- Hemochromatosis is a rare autosomal recessive Mendelian disease- Y.docx
Q1- Hemochromatosis is a rare autosomal recessive Mendelian disease- Y.docxQ1- Hemochromatosis is a rare autosomal recessive Mendelian disease- Y.docx
Q1- Hemochromatosis is a rare autosomal recessive Mendelian disease- Y.docx
 
Q(3) The probability that a married man watches a certain television s.docx
Q(3) The probability that a married man watches a certain television s.docxQ(3) The probability that a married man watches a certain television s.docx
Q(3) The probability that a married man watches a certain television s.docx
 
Put steps of the Westem blot in order Drag and drop options into corre.docx
Put steps of the Westem blot in order Drag and drop options into corre.docxPut steps of the Westem blot in order Drag and drop options into corre.docx
Put steps of the Westem blot in order Drag and drop options into corre.docx
 
Python Which regular expression matches any positive decimal integer n.docx
Python Which regular expression matches any positive decimal integer n.docxPython Which regular expression matches any positive decimal integer n.docx
Python Which regular expression matches any positive decimal integer n.docx
 
Python Create an app that contains the following- - Input a name- majo.docx
Python Create an app that contains the following- - Input a name- majo.docxPython Create an app that contains the following- - Input a name- majo.docx
Python Create an app that contains the following- - Input a name- majo.docx
 
Purpose The purpose of this Activity is to demonstrate your understand.docx
Purpose The purpose of this Activity is to demonstrate your understand.docxPurpose The purpose of this Activity is to demonstrate your understand.docx
Purpose The purpose of this Activity is to demonstrate your understand.docx
 
Put the stages of bacteriophage replication in order- Lysis of host.docx
Put the stages of bacteriophage replication in order-   Lysis of host.docxPut the stages of bacteriophage replication in order-   Lysis of host.docx
Put the stages of bacteriophage replication in order- Lysis of host.docx
 

Dernier

JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
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
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
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
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Dernier (20)

JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
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
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
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
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

Please write in C thank you Intro to Programming in C-program 4 (large.docx

  • 1. Please write in C thank you Intro to Programming in C -program 4 (larger program) Assignment purpose: To compile, build, and execute an interactive program using functions from stdio.h (printf and scanf), math in C , conditions, a while loop, and programmer defined functions. #define_CRT_SECURE_NO_WARNINGS //for Visual studio compiler Instructions: For this assignment you will be implementing a program that simulates a banking application with 2 accounts: checking and savings Please use an app with 7 MENU OPTIONS 1. Initialize the balance in the checking account to $276.20 2. Initialize the balance in the savings account to $124.61 3. The program will welcome the user with a friendly message and instructions. 4. Display the balance in both accounts at the start of execution 5. Display the item options: (1) to DEPOSIT to CHECKING ACCOUNT (2) to WITHDRAW from CHECKING ACCOUNT (3) to DEPOSIT to SAVINGS ACCOUNT (4) to WITHDRAW from SAVINGS ACCOUNT (5) to display CHECKING ACCOUNT BALANCE (6) to display SAVINGS ACCOUNT BALANCE (-1) to QUIT 6. The user will make the selection based on the item number 7. The user may continue to use the bank app until entering (-1) to QUIT Use the following programmer defined functions. DO NOT modify the Functions: //greets the user void Greeting O ; // Displays the list of options available //prompts for the user's selection and returns that value int RunBankChoices ( ; //Input: one double and one character // displays the balance of the account (' C ', checking or ' S ', savings) void DisplayBalance(double accountBalance, char account); //Input: one double and one character //declare, ask, and get the amount from the user and add it to the account //return the updated balance ('C', checking or ' S ', savings) double DepositMoney(double accountBalance, char account); //Input: one double and one character // declare, ask, and get the amount from the user //subtract the money from the account if available //return the updated balance (' C ', checking or ' S ', savings) double WithdrawMoney (double accountBalance, char account);