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

  Degree of membership to different categories

degree of membership to different categories of apps based upon their functions or uses

  The relationships between user forms and reports

the relationships between user forms and reports

  Implement encryption-decryption procedures for rsa method

Implement encryption/decryption procedures for the RSA method (assume that s, p and N are all given and represented in arrays of integers of size 25).

  Identify the computer activities for the employees

Identify the computer activities for the employees of each department. Then create a security policy for the employees of each department.

  Security efforts dealing with cloud infrastructure

Cloud Security Why do the majority of the security efforts dealing with cloud infrastructure focus on securing the operating system

  Define the bcd value on its low-order bits

Design an 8-bit input port and an output port using MC68230 for the MC68000. The input port receives a 4-bit BCD value on its low-order bits, and the output.

  Compose a final list detailing all of your specific hardware

Compose a final list detailing all of your specific hardware recommendations for your client

  Develop a low-fidelity prototype

HS2031 Human Computer Interaction - Perform a user analysis. You must have a clear view of the users of this system. Consider that not everyone is comfortable

  What is standard purchasing system

SPS system would standardize purchasing practices for each Snad and Surf subsidiary and manage all purchasing information. System testing will be completed by end of the week. What kinds of documentation are required for this application?

  Make an abstract class called aqualife

Fish has an attribute that stores whether the fish is an herbivore or a carnivore. Its eats method checks whether herbivore or carnivore, and prints 'This fish eats veggies' for herbivores and 'This fish eats other fish' for carnivores.

  Describe and explain the types of control procedures that

in this assignment you will apply the knowledge gained about ethics and security to evaluate security risks and control

  Find all irreducible polynomials

The best approach for doing this is to consider all polynomials of lower degree and check whether they are factors. Please note that we only consider monic irreducible polynomials, i.e., polynomials with the highest coefficient equal to one.

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