Develop a c console application

Assignment Help Basic Computer Science
Reference no: EM131856093

I need help with the following C# programming assignment:

Develop a C# console application that implements two int arrays. One array will hold 10 randomly generated integer numbers, the second array will hold 10 integer numbers entered from the console.

Implement 2 'for' loops, the first to fill the array using the Random class to generate 10 random integers between 1 and 100 (see p241, section 7.9) and a second 'for' loop that will fill the second array with input entries between 1 and 100 taken from the console.

Implement a third 'for' loop to iterate through both arrays and perform the following comparisons of the corresponding (identical subscripts) array entries:

if the entered array value is less than the corresponding random array value then print "The entered number XX is less than YY", otherwise

if the entered array value is greater than the corresponding random array value then print "The entered number XX is greater than YY" otherwise

print "The entered number XX is equal to YY"

Use the array length variable to stay within the array bounds for all three loops.

Reference no: EM131856093

Questions Cloud

Where are the facts in this judicial opinion : Where are the facts in this judicial opinion? What is the issue? What is the holding? What is the rule?
Write the introduction section of market research proposal : Write the introduction section of your market research proposal. Topic: Using social media to boost sales.
Porter five competitive forces model : Using Porter's Five Competitive Forces model, choose a company and describe the five forces for that company.
What is this bond macaulay duration : What is this bond’s Macaulay duration? Its modified duration? What is the new price of the bond using the bond pricing formula?
Develop a c console application : Develop a C# console application that implements two int arrays. One array will hold 10 randomly generated integer numbers, the second array
Analyze the courts decision and discuss : Analyze the Court's decision and discuss if you think it was fair and just and whether you feel that Williams deserved the punishment she received.
Functioning of the von neumann architecture : Evaluate the two example circuits presented in the first section of this handout for some assignment of the variables to values 1, 0
Change your ip address in linux : 1. Which of the following will allow you to change your IP address in Linux?
Discuss what you learned from the videos we watched : Discuss what you learned from the videos we watched and discuss your thoughts on the future of AI and how it will impact your chosen field.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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