Create three variables of string data type

Assignment Help DOT NET Programming
Reference no: EM132084612

Objective: This assignment is designed to learn programming in VB.NET.

Important Note:

Make sure that you submit your assignment to the correct assignment drop box.

Questions:

(2 marks) In Visual Studio, create a VB.NET Console Application that does the following:

Create three variables of String data type, called firstNamelastName, and fullName respectively;

Assign your first name to the variable firstName;

Assign your last name to the variable lastName;

Concatenate the variable firstName, a string containing a space (i.e., " "), the variable lastName together, and then assign the result to the variable fullName;

Display your name in the console window using the statement Console.WriteLine(fullName)

(3 marks) In Visual Studio, create a VB.NET Console Application that does the following:

Create a variable of Integer data type, called marks;

Create a variable of String data type, called grade;

Assign 88 to marks;

Convert marks into grade as follows using the Select-Case statement:

marks

grade

90-100

A+

85-89

A

80-84

A-

77-79

B+

73-76

B

70-72

B-

67-69

C+

63-66

C

60-62

C-

50-59

D

0-49

F

Display the values of marks and grade in the console window using the statements Console.WriteLine(marks) Console.WriteLine(grade)

(2 marks) Repeat Question 2 using the If-Then-ElseIf statement (instead of the Select-Case statement). Your output should be exactly the same as that of Question 2.

(3 marks) In Visual Studio, create a VB.NET Console Application that uses the While loop to display all leap years between 2017 and 2050. A leap year between 2017 and 2050 is a year that is an integer multiple of 4 (i.e., year Mod 4 = 0). For example, 2020 and 2040 are leap years. (Hint: you need both the While and If-Then statements.)

For each question, print the program and handwrite the output at the end of the printout of the program.

Submission:

A cover page that contains your name and student number.

The printout of the four programs.

The handwritten outputs.

Reference no: EM132084612

Questions Cloud

Prepare the eliminating entries required for the preparation : Prepare the eliminating entries required for the preparation of a consolidated statements workpaper on December 31, 2014, assuming the use of the cost method
What is the amount of the capitalization of retained earning : What is the amount of the capitalization of retained earnings for the stock dividend - How many common shares are outstanding on each cash dividend date
Write the code for all the objects and submit hard copy : Provide the UML that shows the objects and the relationship. Write the code for all the objects and submit hard copy of the UML and the code.
How did the turks go about enacting their armenian policy : How did the Turks go about enacting their Armenian policy? Begin with the days leading up to and immediately following April 24th, 1915.
Create three variables of string data type : Create three variables of String data type, called firstName, lastName, and fullName respectively; Assign your first name to the variable firstName;
Securing control of the spice islands : What European power ended up securing control of the Spice Islands (Indonesia)?
What are the key features of an oodbms : How does an object-oriented database management system (OODMS) compare to a relational database management system (RDBMS)?
What was the predominant sector of the growing manufacturing : What was the predominant sector of the growing manufacturing economy of the 16th century? Name two regional centers of this industry.
Discuss about the i-o redirection in c shell : Your shell will need to support file redirection. Use the same syntax as defined in the Bash shell: a single '>' implies that one needs to redirect.

Reviews

Write a Review

DOT NET Programming Questions & Answers

  Create a windows application and add a database

Statement Create a C# Windows application (named EmployeeManagement) and add a database named EmployeeData.mdf. A button that, when clicked, sorts the data in ascending order by hourly pay rate.

  Describing get method and post method

The GET method is used for viewing something, without changing its value. The POST method is used for values that are not constant. In terms of security, which method do you think is more secure? Explain your answer.

  Create a c# program that includes a coffeeorder class

Create a program that includes the following requirements: Create a CoffeeOrder class

  Calculate and display a letter grade for each student

Calculate and display a letter grade for each student - A flowchart showing the program processing flow

  Which keywords in c# are not also keywords in java

What are the advantage of using a rectangular array in C#, as opposed to using an array whose elements are arrays?

  Create windows application and write appropriate code

Using Microsoft Visual Studio and C#.net, Create windows application and write appropriate code for both activities 1 and 2. Activity1 is about array and text file and Activity2 is aggregation, inheritance and polymorphism.

  Calculate the price for individual orders

Determine the price of the shirts from the radio buttons and check boxes for the monogram and pockets. Multiply the quantity by the price to determine the extended price, and add to the order total and summary total

  Develop windows form application for the national soccer

Develop a Windows Form application for the National Soccer Association to enter the teams for each of the 8 group(input of teams for each group) - Develop the C# WinForm Application in Visual Studio 2013.

  Develop web services based application

Develop and test a Web services based application that meets the requirements applying SOA design principles.

  Assignment related to online role-playing games

Construct evaluation techniques to the user experience and system usability in the design process. Describe the differences in developing user interfaces for different application environments.

  Demonstrate academic and professional literacy

Demonstrate academic and professional literacy by collating theoretical and practical course material into a workable application through understanding concepts and their practical application using .NET

  Create a visual c-sharp program for an ice cream shop.

Create an Order class that includes a Customer object and an array of 10 Cone objects (the maximum number of ice cream cones a customer can order is 10).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd