You must spread your risks out like don’t put all your eggs in one basket... don’t rely on on thing because is it goes downhill you have no backup
Answer:
c. selection list.
Explanation:
A selection list is created using the select and option elements that present users with a group of predefined possible values for the data field.
In Computer programming, the selection list is used to avail the end users with the ability to engage in an operation such as a predefined possible values for the data field.
It could be any thing of your chose
<h2>6</h2>
The elements used in Qbasic:
- Character set.
- Variables.
- Constants.
- Operator and Operands.
- Expression.
- Statements.
Answer:
The program to this question can be given as follows:
Program:
public class data //defining class data
{
//main method
public static void main (String [] as) //declaring main method
{
int userNum = 4; //declare variable userNum and assign value
for (userNum = 1; userNum <= 4; userNum++) //loop for print values
{
System.out.println(userNum); //print values in new lines.
}
}
}
Output:
1
2
3
4
Explanation:
In the above java program code firstly a class "data" is defined, inside this class the main method is defined in which an integer variable userNum is defined that holds a value that is "4".
- In this method, a for loop is declare that uses variable userNum which starts from 1 and ends with a given value that is equal to 4.
- Inside a for loop, the print function is used that print userNum variable each values in the newline.