Answered step by step
Verified Expert Solution
Link Copied!

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)

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions