Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started