QUESTION 3

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

QUESTION 3

Post by answerhappygod »

QUESTION 3
Question 3 1
Question 3 1 (34.11 KiB) Viewed 25 times
Question 3 2
Question 3 2 (34.11 KiB) Viewed 25 times
Question 3 3
Question 3 3 (34.11 KiB) Viewed 25 times
Question 3 4
Question 3 4 (34.11 KiB) Viewed 25 times
7:28 2 of 4 ASSIGNMENT 1 CSD 2354 (CM) Owention-1) Write a C program uning Notepad (do not use Visual Studio IDE). You may any statement you have learfix For example Try to declare some variables of different data types, demonstrate how you valid literals to them Print the variables values using format strings Make sure to embed comments to explain what each data type mean and in what context you should use such variables. Submission Instruction: Create a MS word document, copy and paste the Ch de Then take the screen shots of the following steps and paste them in 35 word cment Aloit the file which you createding) After completing the C# program, open up Command Prompticndi window. Compile your C sharp programs and Execute t Take the screenshots of the command prompt and pamte in MS Word document Also copy and paste the C code in your Wand document. Make sure that you paste the output screen below the C code may references and Mode for Q1 in Section) Modern referen You should question hit the ese and selle along with the MS WORD doc Question-2) Create a C# Console application DOT set framework sing Visual Studie IDE Project name should include students fintsumo(s) followed by A1(Example HarleenHardeep At) Samion Instruction sumbit the Zipped project folder) In this project. Rename Programs to A102. In A102. do the following toks Declare variables of different data types (at least 10 variables) Assign valid linerals to those variables Print the values of the variables using format strings and placeholders se Console.Write) Console.WriteLine ASSIGNMENT 1 CSD 2354 (C#) Print values of some variables in following formats Currency *Number Hexadecimal 5) Embed comment lines before each Console Writeline and explain, how the format strings and placeholders work. Perform some arithmetic operations on the variables you declared in step 1. You should demonstrate the use of following arithmetic operations Demonstrate the use of increment++ and decoperators wit cumple, explain them, by exobedding comments in the program moodle.queenscollege.ca
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply