Creating an automated greeting system

Assignment Help Computer Engineering
Reference no: EM132103888

Problem

Suppose that there is a 3-story apartment building with 10 rooms on each floor.

Apartments 101 through 110 are on the first floor, Apartments 201 through 210 are on the second floor, and Apartments 301 through 310 are on the third floor.

You are creating an automated greeting system, which directs visiting guests to an appropriate floor. Example session is shown below.

>> Apt

Please enter an apartment number: 203 The apartment is on the second floor. >>

If the user enters an apartment numbers that does not exist, your program would return an error message.

>> Apt

Please enter an apartment number: 100 Sorry, that apartment does not exit. >> Apt

Please enter an apartment number: -5 Sorry, that apartment does not exit. >>

Run four different values, so that your command-window session will show cases corresponding to the first floor, second floor, third floor, or non-existing.

Submission: 1 m-file, the command window session

Reference no: EM132103888

Questions Cloud

What are the dominant and recessive factors : What are the dominant and recessive factors according to Gregor Mendel explanation to genetics?
How does adaptation enable organisms : How does adaptation enable organisms to reduce competition for food and other resources?
Provide the mean and standard deviation using r : Create a relative frequency histogram of the "Time in Minutes" variable. What is the difference between these two graphs?
Sex influenced-sex limited and sex linked inheritance : What is the difference between sex influenced/sex limited and sex linked inheritance?
Creating an automated greeting system : Apartments 101 through 110 are on the first floor, Apartments 201 through 210 are on the second floor, and Apartments 301 through 310 are on the third floor.
Collection of a blood sample : When can a Vacutainer not be used for collection of a blood sample
Why is enzyme salivary amylase : Why is enzyme salivary amylase unable to function in the stomach?
What is the distinction of the terms ecology : What is the distinction of the terms ecology and environmentalism and how are they correlated?
To sort a list of integer using the selection sort algorithm : Identify the least frequent letter in the above text. Implement a separate function void getLeastFreqLetter() for this task.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd