ter bill type (1=utiLities, 2=internet) 1 ter 1=INB or 2=SYABAS: 1 ter amount to pay: RM100. 00 tal after discount = RM95.00 entinue? 1=yes, 0-no: 1 ater bill type (1-utilities, 2-internet):2 ater l=DIGI, 2=UNIFI or 3=MAXIS FIBRE: 2 ter amount to pay: RM250.00 tal after diacount - RM237.50 ntinue? 1-yes, 0=no: 0 ptal paid : RM332.50 ank you for using J1EKNGA Input

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

TickNGa Sản Bhd is currently planning to deploy a system that enables users to pay for bills
Enter bill type (1=utilities, 2=internet)
1
fom multiple utilities and Internet provider companies. The list of identifled companies that
Enter 1=INB or 2=SYABAS: 1
agreed to join this venture are listed in Table 2 By using this system, users will be entitled for
Enter amount to pay: RM100. 00
a discount. However, the discouxts vary based on the company name. List of discounts also
Total after discount = RM95.00
can be scen from Table 2.
Table 2
Continue? 1=yes, 0=no: 1
Enter bill type (1=utilities, 2=internet): 2
Enter 1=DIGI, 2=UNIFI or 3=MAXIS FIBRE: 2
Bill type
Company
Discount
(%)
Enter amount to pay: RM250. 00
Utilities
1.TNB
Total after diacount
RM23 7.50
2.Syabas
1.Digi
10
Internet
Continue? 1=yes, 0-no: 0
2.Unifi
Total paid : RM332.50
Thank you for using I1CKNEO
3.Maxis Fibre
Input
You are required to develop the C program for the system with the following requirements:
i)
Your program must have ONE (1) non void function with minimum TWO.
Figure 2
(2) parameters by value.
11)
Your program must have ONE (1) non void function with no parameter.
1)
Your program must have ONE (1) veid function with minimum ONE (1)
parameter by value.
Your program must have ONE (1) void function with minimum TWO (2)
iv)
parameters by reference.
v)
Your program must have at least IWO (2) irputs.
vi)
Your program must have at least TWO (2) outputs.
vii)
Your program must have at least ONE (1) equation.
vii)
Your program must have at least ONE (1) set of decisions.
Ix)
Your program must have at least ONE (1) loop.
You are free to include any decieion, looping, caleulation, input and output ee long a: it meets
the required requirements mentioned above. Figure 2 shows an example of the inputs and
cutputs that your system can produce.
Transcribed Image Text:TickNGa Sản Bhd is currently planning to deploy a system that enables users to pay for bills Enter bill type (1=utilities, 2=internet) 1 fom multiple utilities and Internet provider companies. The list of identifled companies that Enter 1=INB or 2=SYABAS: 1 agreed to join this venture are listed in Table 2 By using this system, users will be entitled for Enter amount to pay: RM100. 00 a discount. However, the discouxts vary based on the company name. List of discounts also Total after discount = RM95.00 can be scen from Table 2. Table 2 Continue? 1=yes, 0=no: 1 Enter bill type (1=utilities, 2=internet): 2 Enter 1=DIGI, 2=UNIFI or 3=MAXIS FIBRE: 2 Bill type Company Discount (%) Enter amount to pay: RM250. 00 Utilities 1.TNB Total after diacount RM23 7.50 2.Syabas 1.Digi 10 Internet Continue? 1=yes, 0-no: 0 2.Unifi Total paid : RM332.50 Thank you for using I1CKNEO 3.Maxis Fibre Input You are required to develop the C program for the system with the following requirements: i) Your program must have ONE (1) non void function with minimum TWO. Figure 2 (2) parameters by value. 11) Your program must have ONE (1) non void function with no parameter. 1) Your program must have ONE (1) veid function with minimum ONE (1) parameter by value. Your program must have ONE (1) void function with minimum TWO (2) iv) parameters by reference. v) Your program must have at least IWO (2) irputs. vi) Your program must have at least TWO (2) outputs. vii) Your program must have at least ONE (1) equation. vii) Your program must have at least ONE (1) set of decisions. Ix) Your program must have at least ONE (1) loop. You are free to include any decieion, looping, caleulation, input and output ee long a: it meets the required requirements mentioned above. Figure 2 shows an example of the inputs and cutputs that your system can produce.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY