Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need the answer as soon as possible The International Conference on Mathematical Sciences and Technology, MathTech, is a biennial conference organised by the School

I need the answer as soon as possible image text in transcribed

The International Conference on Mathematical Sciences and Technology, MathTech, is a biennial conference organised by the School of Mathematical Sciences, USM. This event is open to all national and international experts, practitioners, researchers, and academics to gather and share their knowledge. The details of fees for participation in the conference are shown in the following table. Local (RM) International (USD) Category Presenter 990 260 Observer 600 150 Note: 1 USD = RM4.20 Assignment Requirement Part 1: Create Invoice Construct a C++ program to do the following tasks: a. Enter the participant's name, category, nationality, accommodation (Yes/No). b. If the answer for the question on accommodation is Yes, the program will ask for the number of days. Then the program will call function calcAccommodation () to calculate the accommodation charges. calcAccommodation () receives accommodation (Yes/No), number of days and participation type (local/international) as parameters and return the accommodation charge to the main program. The price per night per person is RM150 for local participant, and USD 100 for international participant. c. Call the calcFee() function which receives participant category and type as parameters, calculate the fees, and return it via reference parameter. d. Calculate the total fees and accommodation charges and store the result to variable totalCharge. e. Call function printInvoice to print the invoice. Sample invoice is given as follows: International Conference on Mathematical Sciences and Technology (MathTech) Invoice Date Invoice No Name Category Accommodation (Y/N) : 20 January 2022 : 0001 : Muhammad Irfan Ali : Presenter : Y Conference Fee Accommodation Fee Total Amount Due (RM) : 990.00 300.00 : 1290.00 Terms & Conditions Payment is due within 30 days. Please make payment via online banking to Maths USM (RHB: 1234554321) You are encouraged to add on extra features to your program

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

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

More than 1/2 the U.S. population is female.

Answered: 1 week ago

Question

Our deadline is 4/7, but we wont be ready before 4/11.

Answered: 1 week ago