0

Write a C program that models a phone recharging system in Guyana. There are two providers: GT&T and Digicel. Please ask the user to enter their telephone number and the amout of credits needed. The program should then determine whether the customer is Digicel or GT&T based on their telephone number and then display a message in the end. For example, for a GT&T customer the message will appear as in the example shown below:
“Dear GT&T customer, your account 6000101 has been recharged with $200”

3
Contributors
2
Replies
3
Views
4 Years
Discussion Span
Last Post by np complete
0

We don't solve your school problems here - that is blatant cheating. You first have to make an effort to solve them, then if you have made a sincere effort, we will happily help you to figure out what went wrong... :-(

0

Here goes little push for you

START

 Enter user's phone number and amount to be recharged.

 Open database and search the user using a unique identification number
 ( for example, the phone number )

 Increment user's balance ( present in database ) by the amount sepcified

 Print the required message

EXIT

Now, your article title is

A C++ program to recharge credit to a cellphone

And in your question you have said

Write a C program that models a phone recharging system in Guyana

First, select the language in which you want to code.

For example in C++ you can use class to construct database, while in C you can use structure.

Code the program and post it ( if there is any problem ).

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.