1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Anni [7]
3 years ago
14

When a sentinel is used in a (______/posttest) loop to validate data, the loop repeats as long as the input is (valid/______). p

retest, invalidPress enter after select an option to check the answer posttest, invalidPress enter after select an option to check the answer pretest, validPress enter after select an option to check the answer posttest, valid
Computers and Technology
1 answer:
monitta3 years ago
4 0

Answer:

When a sentinel is used in a (pretest/post test) loop to validate data, the loop repeats as long as the input is (valid/invalid).

Explanation:

Required

Fill in the gaps

Sentinel are used to validate or invalidate loops (pretest and post test loops).

Since , some parts of the brackets have aready been filled, we simply complete the blanks with the opposite of the term in the bracket. i.e. the opposite of post test is pretest and the opposite of valid is invalid.

<em>So, the blanks will be filled with pretest and invalid.</em>

You might be interested in
Write a program that computes the tax and tip on a restaurant bill for a patron a $88.67 meal charge. The tax should be 6.75 per
Lina20 [59]

Answer:

C++ code is writtern below with explanation in comments

Explanation:

#include <iostream>

using namespace std;

int main()

{

//declare all the required fields in double format

   double mealCost =88.67;

   double taxPercenatage=6.75;

   double tipPercentage=20;

// displaying the original Meal Cost

   cout<< "Meal Cost: "<<mealCost<<endl;

// get the total tax percentage from meal cost

   double totalTax= taxPercenatage /100 * mealCost;

// display the tax amount

   cout<< "Tax Amount: "<<totalTax<<endl;

// getting tip amount from meal cost and tax amount.

   double totalTip = tipPercentage/100 * (mealCost+totalTax);

//displaying tip amount

   cout<< "Tip Amount: "<<totalTip<<endl;

// now adding all three values and get total amount that customer

// has to pay

   double totalAmount = mealCost+totalTax+totalTip;

//Displaying total amount

   cout<< "Total Bill: "<<totalAmount<<endl;

   return 0;

}

Output

Meal Cost: 88.67

Tax Amount: 5.98523

Tip Amount: 18.931

Total Bill: 113.586

5 0
3 years ago
4.) Food cost for your restaurant is about $.38 on the dollar. That means for every dollar
Burka [1]

Answer:

38 cents on the dollar means that the cost is 38%. So for each of the costs, multiply by 0.38 (38%) to get the cost.

$3459*0.38=$1314.42

$2976.81*0.38 = 1131.1878 or about $1131.19

etc.

7 0
3 years ago
In which of these images would lines become an evaluating factor?
hichkok12 [17]

Answer: The fish?

Explanation:

4 0
3 years ago
Which windows tool lets you perform automatic backups at regular times (such as on specific days at specific times)?.
arlik [135]

Answer:

Windows Automatic Backup Tool Which Windows tool lets you perform automatic backups at regular times? For regular backups, using third-party automatic file backup program is highly suggested. However, some of you choose to use File History or Windows Backup and Restore (Windows 7).

Explanation:

8 0
2 years ago
Why CANON G1010 is the best choices than epson L3110 3in 1 Printer​
saveliy_v [14]

Answer:

I would say go with the canon as I have a better history with it than Epson

Explanation:

they both look similar and have similar features

3 0
3 years ago
Other questions:
  • What is the full path of the directory on this computer containing the SAM registry hive file
    15·1 answer
  • How does Isabel respond to having to stay home and not work while every one else works? Esperanza Rising
    14·1 answer
  • Which of the following journals is not aimed at the public as well as scientists?
    7·1 answer
  • Write a program that will read in a line of text and output the number of words in the line and the number of occurrences of eac
    11·1 answer
  • Assignment 2: Room area
    14·1 answer
  • Write a while loop that prints
    13·1 answer
  • "What is the longest time (with extensions) a developer can have to file a final map after receiving tentative map approval?"
    10·1 answer
  • How do ACLs work on a router?
    14·1 answer
  • Please HELP me it a test and it due rn. Please no links
    9·1 answer
  • What are the major features of React?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!