Describe a function that will prompt the user to enter

Assignment Help Computer Engineering
Reference no: EM132106239

For each of the problems below you are to consider making a function to solve the problem. As before, state the purpose of the function in your own words.

Next specify input that is needed for the function to complete the task, and state what input should be passed to the function as parameters and what would be acquired inside the function using the input function.

Specify the expected output and state if the output will be returned to the function call or be sent to the monitor. Finally give the step by step process that will obtain the output from the input (the algorithm).

In addition to these 4 items also specify test data that can be used for each function. Remember to describe your steps in enough detail so someone other than you could follow your algorithm and solve the problem. Also do not write any actual code.

Program : Describe a function that will prompt the user to enter 50 whole numbers and count how many even and odd numbers were entered (0 should be considered an even number). The function should send back to the function call how many odd and even numbers were entered.

Reference no: EM132106239

Questions Cloud

Disadvantages during the years of preschool and elementary : What are the different ways in which boys and girls are disadvantaged at school? What are the disadvantages during the years of preschool and elementary school
Record the accrued interest on the liability at the end : An arrangement with a consortium of distributors requires that all recall costs be settled at the end of 2017. Record the accrued interest on the liability
What should be discussed with a doctor concerning the end : What should be discussed with a doctor concerning the end of life care for an individual with who has no families?Would the doctors abide by the patients decisi
What considerations could be discussed concerning : What considerations could be discussed concerning on the end of life care for individuals with a family?
Describe a function that will prompt the user to enter : Describe a function that will prompt the user to enter 50 whole numbers and count how many even and odd numbers were entered.
What is the research on the topic of gender universals : What is the research on the topic of gender universals when it come to emotion, including cross-cultural researches?
Write a program that prints the calendar for a given year : Write a program that prints the calendar for a given year. The user will be promoted to choose the calendar for the month or the year.
Determine the correct inventory amount on december : Josef received goods costing $41,900 on January 2 that were shipped FOB destination on December 29. Determine the correct inventory amount on December 31
Draw a rectangle as a rectangle and as a polygon : Draw a rectangle as a Rectangle and as a Polygon. Make the lines of the Polygon yellow and the lines of the Rectangle green.

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