Computer Science, asked by mainlife42, 20 days ago

1.Write a C++ program that allows the user to enter positive integers. Once a negative integer is entered, output the sum and average of the numbers entered.
2.Write a C++ program that allows the user to enter the phrase "I know how to use string properties". Output the number of times the letter "o" occurs in the phrase using string properties.
3.Write a C++ program to calculate and print a customer's bill. Accept the cost for 5 items into an array. Include an 8% sales tax in the bill.
Item #1: 60
Item #2: 130
Item #3: 32
Item #4: 54
Item#5: 129
Sub Total: 405
Tax: 32.40
Total Bill: 372.60
They are three different programs pls help

Answers

Answered by Debrajgamer2
0

Answer:

Write a C++ program that allows the user to enter the phrase "I know how to use string properties". Output the number of times the letter "o" occurs in the phrase using string properties.

3.Write a C++ program to calculate and print a customer's bill. Accept the cost for 5 items into an array. Include an 8% sales tax in the bill.

Item #1: 60

Item #2: 130

Item #3: 32

Item #4: 54

Item#5: 129

Sub Total: 405

Tax: 32.40

Total Bill: 372.60

They are three different programs pls

Similar questions