Using Visual Studio Create a simple application Manny Management Consulting charges P2,000 for training fee
and P150 per person for registration fee. Create an application
to help the accountant make a billing statement showing the
customer's name, address, number of participants, training fee,
registration fee and total amount due
write a program which loads(from the keyboard)variables of four basic types
1.integer number(preferably short)
2.floating point number(preferably double)
3.single character(char)
4.text(using array text representation char text[30])
5.boolean(logical TRUE/FALSE)(int?)
and the display the collected values in five following rows in a formated form:
on 15 positions
aligned /justified to right
with maximally 2 fraction digits
1. Create a function that would help you compute the average expense of car fueling in a month. It would take as an input number of times in a month that you have refueled. Create a dynamic array of the given size. Then you would be required to input that may times the amount used to refuel and store values in this dynamic array. Now compute the .using in c++.
a. average of these cost
b. most expensive refueling
c. Least expensive refueling.
2. Overload the function from 1 to read the number of entries in a file. Create a dynamic array of the given size. Then you would be required to input that may times the amount used to refuel and store values in this dynamic array. Now compute the
a. average of these cost
b. most expensive refueling
c. Least expensive refueling.
3. Write back results from 1 in the file “manual_input.txt”
4. Write back results from 2 in the file “automated_input.txt”
Solve the Integer LP problem using the GOMORY'S cutting plane method. Maximize Z = 2Y1+ 20Y2-10Y3 subject to the constraints (0) 2Y1+20Y2+4Y3 ≤ 15, (ii) 6Y1+ 20Y2+4Y3=201 and Y1, Y2, Y3 20 and are integers.