Write a program that will ask the use to enter their age

Assignment Help Computer Engineering
Reference no: EM132205969

Question :

Write a MATLAB program that will ask the use to enter their age, then ask them to enter the name of their best friend, and then ask them to enter their friend's age.

Determine the difference in their ages,and express this value as a positive integer.

Finally, a statement in the following format should be displayed in the command window:

My age is ______years.
_______ is my best friend. My friend's age is_______ years. The difference in our age is_______ years.

Reference no: EM132205969

Questions Cloud

What is the differences between a connection-oriented : What is the differences between a connection-oriented protocol and a connectionless protocol? Give an example of an application that would be most suitable for
Explain the functional view of an organization : Explain the functional view of an organization and describe each function.
What is the value of each for small businesses : What is the value of each for small businesses? What are potential issues that may arise if a small business focuses only on one type of branding?
Properly initialized with non-empty values : Suppose s1 and s2 are variables of type String, and both have been properly initialized with non-empty values.
Write a program that will ask the use to enter their age : Write a MATLAB program that will ask the use to enter their age,then ask them to enter the name of their best friend, and then ask them to enter their friend's.
What are your ideal qa methods and why : What are your ideal QA methods and why? (e.g. manual, automated)
Write a matlab program to compute the sum of the series : Write a MATLAB program to compute the sum of the series 12 + 22 + 32 ... such that the sum is as large as possible without exceeding 1000.
Difference between symmetric and asymmetric encryption : What is the difference between Symmetric and Asymmetric Encryption to include the process each uses to secure the information
Define a marketable form of the drink : Your team is looking for a way to make some revenue as either a for-profit or not-for-profit organization. This organization can market locally, nationally.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a signal handler function

Write a signal handler function, When a SIGALRM signal arrives this function will be called in which variable will be set.

  Questiondons lumber company on hudson river is one of the

questiondons lumber company on hudson river is one of the oldest retail lumber yards in new york state. it features a

  Describe the methodology behind constructing one wbs

Define a work breakdown structure and describe the methodology behind constructing one. Contains Work Breakdown Structure Code for each task.

  What are the components of a font-family stack

What is the root address of a web site? How many pairs of titles and definitions can a definition list hold?

  Assignment on modeling

Linear and integer programming modeling.Network modeling.Project scheduling modeling.Time series forecasting.Inventory.Queuing modeling.Simulation modeling

  What makes a special occasion

What makes a special occasion? How can you apply, to special occasion speeches, the speaking skills you have worked on throughout the term?

  Show an appropriate message regarding the bonus

show an appropriate message regarding the bonus when the QuarterlySales for the SalesPerson falls within these ranges.

  Compute and returns the natural logarithm of the gamma

Implement a fucntion that computes and returns the natural logarithm of the gamma value of a positive integer that uses recursion instead of a for loop

  Create a conceptual data modeling for the dataset

Using the identified dataset, create a conceptual data modeling for the dataset; you may use the software of your choice.

  Discuss some methods of communication for small business

Discuss some methods of communication for small business networks accessing the Internet.

  Discuss about the reliability characteristic

Study from the literature about the reliability characteristic and its major issues in developing and implementing application for the organization.

  Define the technology that you are researching

Define the technology that you are researching, for example what is Nanotechnology? Provide positive feedback and additional comments.

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