subject

Consider the following variable declaration: double y = 52;
Does a cast need to be added so this code will compile and run successfully? If so, what should be typed for this cast?

yes, ( String)
yes, ( decimal)
yes, ( double )
no, nothing
yes, (int)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
Assume that you have an sorted array of records. assume that the length of the array (n) is known. give two different methods to search for a specific value in this array. you can use english or pseudo-code for your algorithm. what is the time complexity for each algorithm and why?
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. the program should output the average high, average low, and the highest and lowest temper- atures for the year. your program must consist of the following functions: a. function getdata: this function reads and stores data in the two- dimensional array. b. function averagehigh: this function calculates and returns the average high temperature for the year. c. function averagelow: this function calculates and returns the aver- age low temperature for the year. d. function indexhightemp: this function returns the index of the highest high temperature in the array. e. function indexlowtemp: this function retur
Answers: 3
question
Computers and Technology, 24.06.2019 15:50
Subscribe to j p g a m e t u b e on you tube ?
Answers: 2
question
Computers and Technology, 24.06.2019 17:30
Looking at the electroscope, describe how you can cause the two leaves at the bottom to repel each other and stay that way
Answers: 3
You know the right answer?
Consider the following variable declaration: double y = 52;
Does a cast need to be added so t...
Questions
question
History, 24.10.2019 22:43
question
English, 24.10.2019 22:43
question
Mathematics, 24.10.2019 22:43
question
Social Studies, 24.10.2019 22:43
Questions on the website: 13722362