Question

8A chef would like to record the number of guests that visit his restaurant in a...

8A chef would like to record the number of guests that visit his restaurant in a day. Which data type would best represents this quantity?

string
bool
none of these
float
int
0 0
Add a comment Improve this question Transcribed image text
Answer #1

int is the answer as chef like to record number which consist of integers so we use int data type

Add a comment
Know the answer?
Add Answer to:
8A chef would like to record the number of guests that visit his restaurant in a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Create a class called Restaurant that is the base class for all restaurants. It should have...

    Create a class called Restaurant that is the base class for all restaurants. It should have attributes for the restaurant's name{protected) and seats (private attribute that represents the number of seats inside the restaurant). Use the UML below to create the methods. Note, the toString prints the name and the number of seats. Derive a class Fastfood from Restaurant This class has one attribute - String slogan (the slogan that the restaurants uses when advertising - e.g., "Best Burgers Ever!")....

  • On a trip home during the summer break, you pay your Uncle Dave a visit at his record store. When...

    On a trip home during the summer break, you pay your Uncle Dave a visit at his record store. When you walk in, you notice there is not one single customer. “I have run this store since the 1980s,” Uncle Dave says with a sigh. “We were the first store in this whole town to sell compact discs! But now, it feels like we’re at least a decade or two behind the times. No one buys records anymore—or even CDs!...

  • Written in python using puTTy!! i'm having a lot of trouble with this, will upvote! also...

    Written in python using puTTy!! i'm having a lot of trouble with this, will upvote! also here is the address.csv file Name,Phone,Email,Year_of_Birth Elizi Moe,5208534566,[email protected],1978 Ma Ta,4345667345,[email protected],1988 Diana Cheng,5203456789,[email protected],1970 ACTIVITY I Implement in Python the Subscriber class modeled by the UML diagram provided below. Save in a file called MyClasses.py Subscriber name: string yearOfBirth: int phone: string email: string getName() getAge() getPhone() getEmail() Write a test program that does the following: Read the file addresses.csv. For each record, create an object...

  • C++ please Let's pretend that we can still go out to eat at a restaurant. Suppose...

    C++ please Let's pretend that we can still go out to eat at a restaurant. Suppose we have the job to make a program that accepts a dinner reservation. The information collected will be the name of the customer, the date for the reservation, the time for the reservation (good choice for a hierarchical struct), the number in the party, email address (for updates) and phone number. Define a hierarchical structure for a dinner reservation that will contain the above...

  • QUESTION 20 A local diner would like to see an increase in the number of customers...

    QUESTION 20 A local diner would like to see an increase in the number of customers over the lunch hour. Currently, they average 25 customers per day over the lunch hour. They decide to offer a special menu of lunch deals at reduced rates to try to bring in more customers. Following the introduction of the new special lunch menu, they track data over the course of 24 days and find a sample mean of 35.6 customers with a standard...

  • In Java. What would the methods of this class look like? StackADT.java public interface StackADT<T> {...

    In Java. What would the methods of this class look like? StackADT.java public interface StackADT<T> { /** Adds one element to the top of this stack. * @param element element to be pushed onto stack */ public void push (T element);    /** Removes and returns the top element from this stack. * @return T element removed from the top of the stack */ public T pop(); /** Returns without removing the top element of this stack. * @return T...

  • 1. If the below function countAll is called like this: countAll(10, 15); There will be an...

    1. If the below function countAll is called like this: countAll(10, 15); There will be an infinite loop. How would you fix this problem? void countAll(int num, int end) { cout << num << " "; countAll(num + 2, end); } Group of answer choices A.Change the 'cout' to print 'end' instead of 'num' B.Make the function return a string C. Change 'num + 2' to 'num + 1' D.It is not possible to fix E. Add a base case...

  • Lauren is discussing with her subordinate, Judy, on the types of projects that Judy would like...

    Lauren is discussing with her subordinate, Judy, on the types of projects that Judy would like to work on in the coming year. Together, they are setting goals and determining what success would look like. Since Judy is allowed to participate in decision making, she is more committed to work. Kitty, another manager, sets a goal that each store in the company should have sales equal to or greater than $100 per square foot per day. And she expects subordinates...

  • As part of a statistics project, Charlie would like to collect data on household size in...

    As part of a statistics project, Charlie would like to collect data on household size in his city. To do so, he asks each person in his statistics class for the si of their household and reports the results of a simple random sample. However, this is not a simple random sample. Why? OCharlie did not use any randomization; he took a convenience sample. OCharlie did not use a random number table to randomize the order in which he collected...

  • QUESTION 1 Given two double variables named x and y, which of the following statements could...

    QUESTION 1 Given two double variables named x and y, which of the following statements could you use to initialize both variables to a value of 0.0? a. x | y = 0.0; b. x = y = 0.0; c. x, y = 0.0; d. none of the above 1 points    QUESTION 2 When you use a range-based for loop with a vector, you a. can avoid out of bounds access b. must still use a counter variable c....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT