pathcode.com/p2c/suser/question/read.php?testid=8qe50hbl7G.kSUFkNCBpuow6FdR1opiAxyQMWLZf1o-&qid=Trepthmyc1_c4Gv4ClaWHw-- Maps OSUBURBAN SUPER.... Challenge task M Gmail انمي فور اب - مشاه... ● ►YouTube https://youtu.be/0... Th Q1-2 here are N students, each of them registered in a programming course for M months, the cost of this course is calculated a ollows: Constraints 1 ≤N≤ 20 1 ≤ M≤ 12 1 ≤ x ≤ 20 P = 0 or 1 1 ≤L≤ 10 0 (1) WhatsApp The cost per month is 40 JD. ● If any student registered for 5 months or more, he will get an X% discount. . The programming center may give additional personal lessons for any student in this course, where the cost per lesson is 12 JD, which is added to the course's cost. Adam is the accountant in this programming center, and asked you to write a C++ program that calculates the total cost for eac student registered in this course. Can you help him? Tp # 1 A SK ENG 1021 AM 5/31/2021

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
path2code.com/p2c/suser/question/read.php?testid=8qe50hbl7G.kSUFkNCBpuow6FdR1opiAxyQMWLZF11o-&qid=Trcpthmyc1_c4Gv4ClaWHw--
O SUBURBAN SUPER...
.o lilo - ul j l M Gmail
# Tp
YouTube
O Maps
}https://youtu.be/0...
n Q1-2 0 (1) WhatsApp
3Challenge task
Reading
There are N students, each of them registered in a programming course for M months, the cost of this course is calculated as
Follows:
The cost per month is 40 JD.
• If any student registered for 5 months or more, he will get an X% discount.
The programming center may give additional personal lessons for any student in this course, where the cost per lesson is 12
CHENE
JD, which is added to the course's cost.
Adam is the accountant in this programming center, and asked you to write a C++ program that calculates the total cost for eac.
student registered in this course. Can you help him?
Constraints
1 < N < 20
1 < M < 12
1 <X< 20
P = 0 or 1
1<L< 10
10:21 AM
(x ENG
5/31/2021
IdeapadGAMING
PgUp
End
Transcribed Image Text:path2code.com/p2c/suser/question/read.php?testid=8qe50hbl7G.kSUFkNCBpuow6FdR1opiAxyQMWLZF11o-&qid=Trcpthmyc1_c4Gv4ClaWHw-- O SUBURBAN SUPER... .o lilo - ul j l M Gmail # Tp YouTube O Maps }https://youtu.be/0... n Q1-2 0 (1) WhatsApp 3Challenge task Reading There are N students, each of them registered in a programming course for M months, the cost of this course is calculated as Follows: The cost per month is 40 JD. • If any student registered for 5 months or more, he will get an X% discount. The programming center may give additional personal lessons for any student in this course, where the cost per lesson is 12 CHENE JD, which is added to the course's cost. Adam is the accountant in this programming center, and asked you to write a C++ program that calculates the total cost for eac. student registered in this course. Can you help him? Constraints 1 < N < 20 1 < M < 12 1 <X< 20 P = 0 or 1 1<L< 10 10:21 AM (x ENG 5/31/2021 IdeapadGAMING PgUp End
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

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