Write an m-file script to prompt the user to input ten

Assignment Help Computer Engineering
Reference no: EM132205951

Question :

Write an m-file script to prompt the user to input ten student ages one at a time and find the maximum age.

Write a m-file script to prompt the user to input a number between 0 and 100 (inclusive) and keep prompting the user until he does so and then display the number.

Draw a table of x, y, and i values for each iteration of the loop.

Predict the output then verify that your prediction was correct.

x = 1;

y = 1;

i= 1;

while (x < 18) y = y * 2;

x = x + y;

i = i + 1;

end disp(i);

Reference no: EM132205951

Questions Cloud

Current implementation of ifrs in australia : Is IFRS better or worse for financial statement analysis? Is it better or worse for investors - Different opinions on IFRS in Australia
Create a social impact assessment table : Create a social impact assessment table for your proposed company (new Fitness Gym) and add it to your business plan. Refer to the handout found in this week's.
Write a mai lab function that will take a 1-d array : Write a MAI LAB function that will take a one-dimensional array containing five numbers as an input argument and return the average of the five numbers.
Discuss the current product on the market : Compare and contrast the B2C versus B2B Buying Behavior for a current product on the market today. Use the same product for both the B2C and B2B situation.
Write an m-file script to prompt the user to input ten : Write an m-file script to prompt the user to input ten student ages one at a time and find the maximum age.
Creating complete marketing plan by the end of the course : You are the new marketing manager to The Waters Bottling Company (WBC) of Munsonville, NH. They have never done any marketing for their water.
Write a logical expression for a web search engine : Write a logical expression for a Web search engine to find sites pertaining to oil paintings by Van Gogh or Rembrandt but not Vermeer.
Describe exception reports versus special analysis reports : Describe exception reports versus special analysis reports, including why these reports are important and an example of when these reports are useful.
Discussing recent increasing green energy vehicle market : Write a 15 pages research paper discussing recent increasing green energy vehicle market. List and analyze at least 3-5 green energy vehicle examples.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Print out all of the command line arguments passed

Write a C++ program that prints out all of the command line arguments passed to the program.

  How backup tool could be used during the preparation phase

Identify how the backup tool could be used during the preparation phase of the incident response and recovery process.

  Describe the types of checks and balances

Please define the goals of an access control monitoring system. Describe the types of checks and balances that should be implemented into a network's design.

  Define the term next and what it measures

Define a UTP full channel test. A NEXT measurement of 59.5 dB is made on wire pairs 1-2/3-6. A next measurement of 51.8db is made on wire pairs 3-6/7-8.

  Design your method so that it works quickly even

Design your method so that it works quickly even if k is greater than the length of s, maybe even as large as +1,000,000,000.

  Create a method that will perform the a division operation

Write down a method that will perform the a division operation (divide by) on the numbers passed to it in two variables (numerator, denominator) and outputs the results. Use a try-catch pair to output an error message if the illegal operation of d..

  Draw a schematic block diagram showing essential components

Draw a schematic block diagram showing essential components of a computer, their functions, and how they interact with each other.

  Discuss the importance of user technology security education

Discuss the importance of user technology security education within organizations. What topics should be included in security education and training?

  Make use of subprograms or functions with parameters

Use pseudocode to design a suitable program to solve it. In your program, make use of subprograms or functions with parameters and arguments.

  List the advantages of computerization of the medical office

Assignment cs205- List the advantages of computerization of the medical office. List the disadvantages of computerization of the medical office. What is a covered entity under HIPAA?

  What is the running time of modified quick-sort algorithm

What's the running time of my modified quick-sort algorithm on an array of numbers that's already sorted?

  What is mflops rating of the system

What is MFLOPS rating of the system

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