Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

i need 3 small program written.1. a program that determines if the users input is even or odd. 2. a program that get the user to input a number between 1-7 and return which day of the week it is. it...

1 answer below »
i need 3 small program written.1. a program that determines if the users input is even or odd.
2. a program that get the user to input a number between 1-7 and return which day of the week it is.
it all can be done in the simplest way possible.

Answered Same Day Sep 14, 2021

Solution

Sayed Shad Ahmad answered on Sep 15 2021
138 Votes
Solution/Program 1/Program1.cs
using System;
Program1 namespace
namespace Program1
{

Class Program1
class Program1
{

Main method
static void Main(string[] args)
{

Declaring variable to store user input
int input;

Requesting an input from use
Console.Write("Enter a number: ");
input = Convert.ToInt32(Console.ReadLine());

Checking whether the input is divisible by 2 or not
if (input % 2 == 0)

Displaying message even...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here