Answered step by step
Verified Expert Solution
Question
1 Approved Answer
9 Declare a constant variable to represent State Sales Tax Rate. Use the proper C# intrinsic/primitive data type and naming conventions for constants. (5 points)
9 Declare a constant variable to represent State Sales Tax Rate. Use the proper C\# intrinsic/primitive data type and naming conventions for constants. (5 points) 43 Write a program that writes the words "Hello World!" as output to the command line (like we have done in class). Make sure it stops to allow the output to be seen before the program ends and the console window closes. (15 points) using System; using Sxstem.Collections, Generic; using Sxstem-ing; using Sxstem.Text; using Sxstem. Threading Tasks; namespace Helloworld \{ class Program \{ static void Main(string[] args) \{ \} \} 44 Write a program that prompts for a user's name and prints out the value entered. (15 points) using System; using Sxstem.Collections Generic; using Sxstem-ing; using SxstemeText; using Sxstem. Threading Tasks; using System.IO; namespace EmptyProgramForTest \{ class Program \{ static void Main(string[] args.) \{ \} \} \} 45 (15 points) The program below is used to determine which book a student shoul buy depending on which CISB course you are taking. For this example, you cannot take two of the CISB courses at the same time. CISB 101 - MS Office CSCI 210 - Using MIS CSCI 331 - Advanced Business Programming Complete the program by writing an if, if-else, or if-else-if statement to assign the book title based on the course. namespace WhichTextbegk \{ public class Program \{ public static void main (String [] argg) f string textbook; Gonglle. Write ("Enter a course \#: "); Gonggle. Writeline(" (101, 210, etc.):"); string course = Console.ReadLine (); // if statement to determine textbook for // course // end of if statement for textbook Gonshle.hriteline ("For CISB " + course +, buy " textbook); \}
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