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 DaySep 14, 2021

Answer To: i need 3 small program written.1. a program that determines if the users input is even or odd. 2. a...

Sayed Shad Ahmad answered on Sep 15 2021
145 Votes
Solution/Program 1/Program1.cs
using System;
//Program1 namespace
namespace Program1
{
//Cl
ass Program1
class Program1
{
//Main method
static void Main(string[] args)
{
//Declaring variable to store user input
int input;
//Requesting an input from user
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