Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write a literal representing an integer value.* 2. Write a literal representing a String value. * 3. Write a literal representing a Single zero

1. Write a literal representing an integer value.* 2. Write a literal representing a String value. * 3. Write a literal representing a Single zero value. 4. Write an expression that computes the average of the variables exam1 and exam2 (both declared and assigned values). 5. Write a literal corresponding to the floating point value one-and-a-half. 6. You are given two variables, already declared and assigned values, one of type double, named totalWeight, containing the weight of a shipment, and the other of type int, named quantity, containing the number of items in the shipment. Write an expression that calculates the weight of one item. 7. Write a literal representing the false value. 8. What is the data type of "10". 9. What is the outcome of Textbox1.Text & Textbox2.Text if the first textbox contains: Hello and the second textbox contains: there 10. What is the outcome of Textbox1.Text & Textbox2.Text if the first textbox contains: 10 and the second textbox contains: 00 11. Write a statement that declares a variable of the Integer data type, then use an assignment statement to assign it a value.* 12. Write a statement to display the average of two integer variables a and b. 13. What is the default value of the Integer type? 14. What is the default value of the Boolean type? 15. Write a statement that demonstrates how a variable gets a default value? 16. Write a statement that assigns the difference between two variables to a third variable. 17. Show how to declare two variables of the Date type in one line. 18. Give an example of an expression. State what data type it is. *

Please just answer four... Thank You

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

Students also viewed these Databases questions

Question

What is a correlation? When can it be used?

Answered: 1 week ago