subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:40
Consider the following generator matrix: g= (1 0 0 0 1 0 0 0 1 1 1 1 1 0 1 1 1 0) find all the codewords generated by this generator matrix. determine the number of errors that this code will detect. determine the number of errors that this code will correct. prove that a linear code's minimum weight is equivalent to its minimum distance. that is, where c is a linear code, dist(c) = wh(c)
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
The β€œrule of 72” is used to approximate the time required for prices to double due to inflation. if the inflation rate is r%, then the rule of 72 estimates that prices will double in 72/r years. for instance, at an inflation rate of 6%, prices double in about 72/6 or 12 years. write a program to test the accuracy of this rule. for each interest rate from 1% to 20%, the program should display the rounded value of 72/r and the actual number of years required for prices to double at an r% inflation rate. (assume prices increase at the end of each year.)
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
Answers: 2
question
Computers and Technology, 24.06.2019 05:50
What all vehicles has tesla inc. created over the years
Answers: 3
You know the right answer?
1.Write a C++ program that allows the user to enter positive integers. Once a negative integer is en...
Questions
question
Mathematics, 22.11.2019 12:31
question
Mathematics, 22.11.2019 12:31
Questions on the website: 13722367