1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
timurjin [86]
3 years ago
8

Explain how to create a constant variable. Give an example of creating a speed constant that does not include a decimal.

Computers and Technology
2 answers:
alex41 [277]3 years ago
6 0

Answer:

You use the Const statement to declare a constant and set its value. By declaring a constant, you assign a meaningful name to a value. Once a constant is declared, it cannot be modified or assigned a new value. You declare a constant within a procedure or in the declarations section of a module, class, or structure.

Explanation:

https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/constants-enums/how-to-declare-a-constant

Have a bless day <3 lve yall

rjkz [21]3 years ago
6 0

Answer:

https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/constants-enums/how-to-declare-a-constant

Here's a link for the answer

Explanation:

You might be interested in
Why doesn't the ad load ?
baherus [9]
Try refreshing the page, if not restart your device check your internet etc.
3 0
2 years ago
Read 2 more answers
How many Iron molecules are in the compound Fe4O2?
Greeley [361]

Explanation: Determine the mass of the substance, and its molar mass. Divide the given mass by its molar mass to get moles, then multiply times 6.022×1023molecules1mol

5 0
4 years ago
Read 2 more answers
How does coding robots fit into STEAM
expeople1 [14]
Coding robots fits into the technology part of STEM.
5 0
4 years ago
Described the importance of developing strategies to conduct educational research.
melamori03 [73]

Step 1: Identifying a Problem.

2

Step 2: Reviewing the Literature.

3

Step 3: Specifying a Purpose and Research Questions. Writing purpose statements, research questions, and hypotheses provide critical direction to an educational research study. ...

4

Step 4: Designing a Study.

ecu

5 0
2 years ago
Write C++ a function name int min_divisor(int n) that returns the minimum divisor of a number recursively without using any buil
Reptile [31]

Answer:

The program to this question can be given as:

Program:  

#include<iostream> //include header file.  

using namespace std;  

int min_divisor(int n) //define function  

{  

if(n<=0) //if statement (base case)  

{  

return -1; //return value.  

}  

else  

{  

cout<<"Recursive Function call: "<<n<<endl; //print value  

for(int i=2;i<n/2;i++) //loop  

{  

if(n/i==0) //if statement  

{  

return n/i; //return value.  

}  

}  

}  

}  

int main() //main function  

{  

int n; //variable decalration  

cout<<"Enter a number:";  

cin>>n;  

int res=min_divisor(n); //calling function  

cout<<"min divisor is: "<<res<<endl; //print value  

}  

Output:

Enter a number: 5

Recursive Function call: 5

min divisor is: 2

Explanation:

In the above program firstly we include the header file that is iostream. It stands for standard input output stream.Then we declare a function that name is already given in question that is min_divisor(int n). In this function there is a one parameter. In the function we use if-else statement in if block n less then equal to 0 it will return value that is -1. In else block It will print the value first then we use the loop. It starts from the 2 and end from n/2. In this loop we divide the value of n and check that if the value is equal to 0 so it will return n/i. Then we declare the main function in the main function we declare variable in this variable we take user input and pass into the function by calling it and hold the return value of the function into variable res variable and print it.

8 0
3 years ago
Other questions:
  • Which plot element is typically the turning point in the most intense moment of a story
    10·2 answers
  • If you reset your iPhone will it delete everything including your Apple ID information
    9·2 answers
  • What type of monitoring compares network traffic, activities, transactions, or behavior against a database of known attack patte
    9·1 answer
  • ​User documentation _____. Group of answer choices ​allows users to prepare overall documentation, such as process descriptions
    9·1 answer
  • A great way to obtain Hands-On training in a real quick environment is to complete a ??
    12·1 answer
  • Windows workstations all have elements of server software built-in. What are these elements, and why is the Windows Professional
    9·1 answer
  • Construct pseudocode for a program that prints ‘Hello World’ on the screen.
    7·2 answers
  • modified true or false analyze each statement then write technical the statement is true the statement is false underline the wo
    6·1 answer
  • Match each Excel term to its definition. cell a group of cells containing related data ribbon a row of tabs, groups, and command
    10·1 answer
  • Which among the following if absent, a computer is not complete.
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!