//1.Which of the following is (are) not a legal variable name?
/*string myVariableIsGood;
string 99Flake;
string _floor;
string time2GetJiggyWidIt;
string wrox.com; */
//2.By considering operator precedence, list the steps involved in the computation of the following expression:
using System;
class MainClass {
public static void Main (string[] args) {
double var1 = 1, var2 = 5, var3 = 50, var4 = 7, var5 = 0.5;
double resultVar += var1 * var2 + var3 % var4 / var5;
Console.WriteLine(resultVar);
}
//var1 is assigned a value after it is multiplied by var 2
//var 3 is assigned the value of the remainder after var3 is divided by var4
//var3 is assigned the value after it is divided by var5
//var1 is added to var3 (2+5?)
//
//II.Write a console application that obtains four int values from the user and displays the product.
//Hint: You may recall that the Convert.ToDouble() command was used to convert the input from the console to a double; the equivalent command to convert from a string to an int is Convert.ToInt32().
Console.WriteLine("Please enter your first integer");