Evaluate the credit worthiness of a client, C/C++ Programming

Write a C++ program that can be used to evaluate the credit worthiness of a client. The program reads the credit limit and the price and quantity of the item to be purchased by the client. If the value of the goods is more than the credit limit, the program displays "Sorry you cannot purchase goods worthy such a value on credit" and allows the customer to re-enter the quantity, otherwise, displays "Thank You for purchasing  from us" and the value of the purchase. This should be repeated for n customers.


using namespace std;
int main()


int counter, no, quantity;

float credit_limit, price,value_of_goods;

cout<<"Enter the number of customers: "<>no;

for(counter=1;counter<=no; counter++)

cout<<"Enter the cremit limit, price and quantity for coustomer number: "


cout<<"Sorry you cannot purchase goods worthy such a value on credit "

cout<<"Re-enter the quantity"<>quantity;



cout<<"Thank You for purchasing from us "<

cout<<"The value of the purchase is  : "< }

return  0;




Posted Date: 8/21/2012 11:27:42 AM | Location : United States

Related Discussions:- Evaluate the credit worthiness of a client, Assignment Help, Ask Question on Evaluate the credit worthiness of a client, Get Answer, Expert's Help, Evaluate the credit worthiness of a client Discussions

Write discussion on Evaluate the credit worthiness of a client
Your posts are moderated
Related Questions
Explain the Loop Statements in Computer Programming? 1. C gives you a choice of three kinds of loop, while, do while and for. 2. The while loop remain repeating an action until

write c++programm that converts degrees Kelvin (TK) to degrees Fahrenheit(TR) recall that TF=(9/5)TK and that TF=TR-459.67

Destructor: The purpose of destructor is to free the memory when the compiler memory is reduced or not enough to execute certain program. Sometimes there may several objects op

The program sorting.cpp contains a main function for testing the operation of several sort algorithms over various data sizes and data set organisations. The program understands

Describe spaghetti programming. - Spaghetti programming refers to codes which tend to get tangled and overlapped throughout the program. - It makes a program complex and ana

Need Payment Gateway Integration Expert Project Description: I am seeking for expert payment gateway integration. You must have done or have experience with integrating me

Public derivation Public derivations are much more common than private derivations. In this situation: The private members inherited from the base class are inaccessible

how to decode a number from mobile keypad

Explain the working of strcmp and strcat Function? strcmp() : This function is meant to use to compare two strings. The strcmp() function acknowledge two strings as argument

#At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with the