Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING C#, CANNOT USE LINX! PAY ATTENTION TO QUESTION AT HAND. Follow the rubric please! Write a console application that will allow the user to

USING C#, CANNOT USE LINX! PAY ATTENTION TO QUESTION AT HAND. Follow the rubric please!

Write a console application that will allow the user to input any integer of type int64 and determine whether or not the number is a prime number. The program should contain a query controlled loop allowing the user an option to rerun the program and enter an additional number(s). It should have a second component that is responsible for checking these 2 numbers and performing the timed test.

Determine if these 2 numbers are prime.

7389274937501454911;

9389274937501454911;

Rubric:

Correctly calculates prime or not prime 10 pts

Calculations for both numbers complete in 25 seconds or less 5 points

Use either a stopwatch or datetime now to demonstrate/verify the time required.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions