Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program to create your own text file using the given guidelines: Insert your name as a comment in the program. Create a

Write a C++ program to create your own text file using the given guidelines:

Insert your name as a comment in the program. Create a macro with the symbol FRIEND_NAME and assign your Friend's name to it. Declare all the necessary variables and file streams. Create and open your own file named final.txt Read the number of consumers Enter all the consumer details using the looping statement as follows: Consumer account number Consumer name Consumer salary per month Calculate bank loan amount and Term Payment as per the following conditions: If consumer salary is more than 1600 then loan amount = 11 * consumer salary, Term Payment = loan amount / 20, otherwise

loan amount = 14 * consumer salary, Term Payment = loan amount/ 20

Write(store) all the consumer details which include Account Number, Consumer name, Consumer salary, loan amount, and Term Payment in the final.txt file. _____________________________ this is the question . i want the code fast please

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Successful Keyword Searching Initiating Research On Popular Topics Using Electronic Databases

Authors: Randall MacDonald, Susan MacDonald

1st Edition

0313306761, 978-0313306761

Students also viewed these Databases questions

Question

Compare levels of resolution in conflict outcomes?

Answered: 1 week ago

Question

Strategies for Managing Conflict Conflict Outcomes?

Answered: 1 week ago