<< Prev Showing: 71-75 of 348 Next >>
· 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 ·Discuss how a loop condition could be constructed to repeat the loop indefinitely and the loop would still terminate.
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
52760
OTA ID:
103644
Explain when you might use a "while" loop and when a "do while" loop. Give an example of each.
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
52761
OTA ID:
104820
Creating a Class Library Project
In this solution, you will create a Class Library project that will count the number of characters, words, sentences, and paragraphs contained in a text file or a multi-line text box. You will also create a Windows Application to test the Class Library project you create. The Class Library project will have one class module. The class will have one method that will open a text file for input. The same method should also count the number of characters, words, sentences, and paragraphs in the file. Another method will perform the same task but use a multi-line text box. The developer should be able to read these values using read-only properties. The form will have an OpenFileDialog control in... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
54677
OTA ID:
104967
Convert Normal date to Julian date
Write a Visual Basic function named Julian which will compute the number of days which have elapsed since January 1, 4713 BC. Here is an algorithm to compute the Julian date given the month, day, and year expressed as integers: If the year is negative, add 1 to it. If the month is past February, add 1 to the month; otherwise, add 13 to the month and subtract 1 from the year. Then compute Dim lngJulDate As Long = Math.Floor(365.25 * intYear) + Math.Floor(30.6001 * intMonth) + intDay + 1720995.0 If the date was before October 15, 1582, return this value. Otherwise, perform the following correction: Dim intAdjustment As Integer = (0.01 * intYear) ... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
54841
OTA ID:
105093
Convert Normal Date to Julian Date
I need help doing this, I have attached a sample output: Write a Visual Basic function named Julian which will compute the number of days which have elapsed since January 1, 4713 BC. Here is an algorithm to compute the Julian date given the month, day, and year expressed as integers: If the year is negative, add 1 to it. If the month is past February, add 1 to the month; otherwise, add 13 to the month and subtract 1 from the year. Then compute Dim lngJulDate As Long = Math.Floor(365.25 * intYear) + Math.Floor(30.6001 * intMonth) + intDay + 1720995.0 If the date was before October 15, 1582, return this value. Otherwise, perform the following correction: ... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
54996
OTA ID:
105058
<< Prev Showing: 71-75 of 348 Next >>
· 1-5 · 6-10 · 11-15 · 16-20 · 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 · 101-105 · 106-110 · 111-115 · 116-120 · 121-125 · 126-130 · 131-135 · 136-140 · 141-145 · 146-150 · 151-155 · 156-160 · 161-165 · 166-170 · 171-175 · 176-180 · 181-185 · 186-190 · 191-195 · 196-200 · 201-205 · 206-210 · 211-215 · 216-220 · 221-225 · 226-230 · 231-235 · 236-240 · 241-245 · 246-250 · 251-255 · 256-260 · 261-265 · 266-270 · 271-275 · 276-280 · 281-285 · 286-290 · 291-295 · 296-300 · 301-305 · 306-310 · 311-315 · 316-320 · 321-325 · 326-330 · 331-335 · 336-340 · 341-345 · 346-348 ·Page generated in 0.0945 seconds