What is a double in visual basic?
A double essentially is an int but with a decimal. For example, 4.5 is a double. But the int value of that would be 4
i = (T1+T2+T3)/Max
If i < 60 then
F
elseif i >= 60 and i < 70 then
D
...
End if
Write an Algorithm for towers of hanoi?
#include
#include
void hanoi(int x, char from,char to,char aux)
{
if(x==1)
{
printf("Move Disk From %c to %c\n",from,to);
}
else
{
hanoi(x-1,from,aux,to);
printf("Move Disk From %c to %c\n",from,to);
hanoi(x-1,aux,to,from);
}
}
int main(void)
{
int disk;
clrscr();
printf("Enter the number of disks you want to play with:");
scanf("%d",&disk);
double moves=pow(2,disk)-1;
printf("\nThe No of moves required is=%g \n",moves);
hanoi(disk,'A','C','B');
getch();
}
How do you write a vbscript for converting alphanumeric to numeric?
num = InputBox("Enter a number: ","PROGRAM: Square")
sumSquare = CInt(num) * CInt(num)
MsgBox("The square of " & num & " = " & sumSquare)
=====
*NOTE*: The function CInt() is what we use to convert a text string to become a numeric integer value.
It depends on the application; most of the time you will find it in the server database.
Samuel Morse because if you know what the telegraph uses "Morse Code" then you would know that it is Samuel Morse!!!
What is Tab control in Visual Basic NET?
In Visual Basic .NET the tab control is a built in way to add tabs to your application. A tab is a "window" of controls that can be interchanged by clicking on the automatically created buttons. The most common implementation of tabs is in web browsers, such as Google Chrome or Mozilla Firefox.
What are the disadvantages of prototyping?
At least 2 disadvantages:
Some would argue that prototyping is a waste of time. In my experience, prototyping, if applied correctly, actually save a lot of time. Saving time may be an advantage, not a disadvantage.
It's a pirated script. 'nullified' usually means that any security measures the software developers put into it have been removed. For example, call home requests, license codes etc.
How do you logout from MS Visual SourceSafe?
If you are having the problem i think, you need to find the maching you logged into Source Safe with and open then close the database this will close the Login session that didn't close properly and you can return to normal use. FYI: Under normal use when you close the application it will log you out. Note: If the machine that you used is unavalible for any reason all you need is a machine with the same computer name. good luck If you are having the problem i think, you need to find the maching you logged into Source Safe with and open then close the database this will close the Login session that didn't close properly and you can return to normal use. FYI: Under normal use when you close the application it will log you out. Note: If the machine that you used is unavalible for any reason all you need is a machine with the same computer name. good luck and yea have fun
What are the advantages of time-series methods?
Since time-series forecasts are relatively easy and inexpensive to construct, they are used quite extensively.
What is app.helpfile in vbnet?
For providing context-sensitive help to VB5 and Vb6 applications, we can set the property called App.helpfile and hook-up the helpfile with the application.
For VB 5 and above one can use .hlp files as help files. For Vb6 and above one can use .chm files as application help files.
In VB.NET this property is not used for providing F1 help to the applications. Instead a control named - Helpprovider is dropped on the form and configured for associating help topics frm the .chm file to the form controls.
A good data is some thing that makes sense . It should be normalized that is not repetitive . Or non redundant which means the same that is NON REPETITIVE.
How do you print a form in Visual Studio 2008?
In the Toolbox, click the Visual Basic PowerPacks tab and then drag the PrintForm component onto the form.
The PrintForm component is added to the component tray.
In the Properties window, set the PrintAction property to PrintToPrinter.
Add the following code in the appropriate event handler (for example, in the Click event handler for a PrintButton).
How to execute Visual Studio .NET in fedora 6?
Simple it
do following steps
1. Open terminal
2.run "sudo+yum"" press enter
3.write "vis std" press enter
4.after it do restart
on booting press "f8" in countinuity
then a pic is appear
5.now open mozilla and write "yum+67%+sudo+url id="system bit"
system bit=win32 orwin 64
now u can use it
What is the use of complementry operator in c?
The bitwise complement or one's complement operator (~) is used to switch the state of all the bits in a value. Thus 1's become 0, and 0's become 1.
One of its many uses is to unset individual bit(s) in a bitmap. We do this with a bitwise AND of the bitmap and the bitwise complement of the bit(s) we want to unset.
Original bitmap: 01011100
Bit to unset: 00000100 (e.g., bit 2 (bits are zero based from right))
// Using one's complement and bitwise AND
~00000100 & 01011100
11111011 (one's complement of bit 2)
&
01011100 (original bitmap)
=
01011000 (original bitmap with bit 2 unset)
Note that this formula works even if bit 2 were already unset:
11111011 (one's complement of bit 2)
&
01011000 (original bitmap, with bit 2 unset)
=
01011000 (original bitmap unchanged)
What is the difference between varchar and int?
The former is for strings, the later is for numbers (integers).
What statement marks the end of a do while loop?
It's the semicolon after the while (
i= 0;
do printf ("%d %s\n", i, argv[i]); while (++i
What is the statement called in visual basic that tests a radio button?
In Visual Basic, the statement used to test a radio button is typically an If...Then statement. You would check the Checked property of the radio button control to determine if it is selected. For example: If RadioButton1.Checked Then ... indicates that the code block will execute if RadioButton1 is selected.
Definition of normal from in DBMS?
In a Database Management System (DBMS), "normal" typically refers to the process of normalization, which is the systematic organization of data to reduce redundancy and improve data integrity. This involves decomposing tables into smaller, related tables and defining relationships among them, following specific normal forms (like 1NF, 2NF, 3NF, etc.). Each normal form has its own rules that must be satisfied to ensure that the database structure is efficient and minimizes anomalies during data operations.