Draw a flowchart that will asks for the amount purchased by the customer. If the customer purchases more than 2,000 then 5%discount is given, Display net amount to be paid by the custom
Task 1
Write a C++ function in which it reads namesfrom file “data.txt” into character array and remove
the repeating names. Write your updated names list in another file called “output.txt”
Example:
Data.txt
Hira
Ali
Ahmad
Imran
Ali
Warda
Annie
Ali
Kinza
Hira
Output.txt
Hira
Ali
Ahmad
Imran
Warda
Annie
Kinza
Task 1
Write a C++ function in which it reads namesfrom file “data.txt” into character array and remove
the repeating names. Write your updated names list in another file called “output.txt”
Example:
Data.txt
Hira
Ali
Ahmad
Imran
Ali
Warda
Annie
Ali
Kinza
Hira
Output.txt
Hira
Ali
Ahmad
Imran
Warda
Annie
Kinza
Write a C++ program that finds and reverse all the occurrences of a substring, pat, in a string,
text. Show the output on console. The data is read from a user provided input file named as
“input.txt”.
Example:
text: abcduyeruyabcdmneaabcabcd
pat: abcd
text: dcbauyeruydcbamneaabcdcba
Write a C++ program that finds and reverse all the occurrences of a substring, pat, in a string,
text. Show the output on console. The data is read from a user provided input file named as
“input.txt”.
Example:
text: abcduyeruyabcdmneaabcabcd
pat: abcd
text: dcbauyeruydcbamneaabcdcba
In a 200 word essay, who is more superior - human or computer?
Please be quided by the following factors?
Content
Completeness
Organization
Grammar
Academic Integrity
Declare variables text type of string and chr type of char.
Declare variables iOperand1 and iOperand2 type of int.
How many 5MB mp3 files can be stored on a 1GB flash drive
Create a VB program that will compute for the sum, difference, product, quotient and remainder of quotient of two numbers.
sample output:
Math Operators:
1.Multiplication
2. Addition3. Division
4. Subtraction
5. Modulus Division
Select Operator: 1
Enter First Number: 3
Enter Second Number: 4
Product: 12