subject

Program 3.Study the code carefully and write out the line where there is error, debug it and write out the correct code 1. ModuleModule1
2. Sub Main0
3. Dim num AsDouble
4. Num=10.0
5. Console. writeLine('The square root of '&num & "is"$Math. sqrt(num))
6. Console. ReadKey0
7. EndSub
8. EndModule​

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
You will be given two character arrays of the same size, one will contain a number of ships. ships will move around the character array based on which way they are facing and the route they are on. routes are given in the other array. the route consists of '-' and '|' for straight paths, '\' and '/' for curves, and '+' for intersections. there are ships on these routes. ships always face a direction, '^' for up, '> ' for right, 'v' for down, and '< ' for left. any time the ships hit a '\' or a '/' it will turn as you would expect a ship to turn (e.g. a '^' that moves into a '/' will turn right). at an intersection, ships will always continue straight through. all ships move at the same speed, ships take turns moving and all ships move during one 'tick'. the one in the most top left goes first, followed by those to its right, then the ones in the next row. it iterates along the rows and then down the columns. each ship moves one space on its turn moving along the route. your function needs to return the position of the first collision between two ships and the number of ticks before the crash occurred.
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
When you type january in a cell, then copy it using the fill handle to the cells below and the data automatically changes to february, march, april, and so on, what is this feature called? auto fill automaticcopy monthfill textfill
Answers: 1
question
Computers and Technology, 24.06.2019 18:20
The following if statement contains a logic error, not a syntax error. rewrite it so that it is correct. assume the variable age already exists and holds a valid number. if (age == 18 & & age == 19) {
Answers: 1
You know the right answer?
Program 3.Study the code carefully and write out the line where there is error, debug it and write o...
Questions
question
Mathematics, 30.10.2020 04:00
question
Social Studies, 30.10.2020 04:00
question
Social Studies, 30.10.2020 04:00
question
Biology, 30.10.2020 04:00
question
Mathematics, 30.10.2020 04:00
question
Mathematics, 30.10.2020 04:00
Questions on the website: 13722367