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
matrenka [14]
3 years ago
10

Write a for loop that displays the following set of numbers: 0,10,20,30,40,50....1000

Computers and Technology
1 answer:
ELEN [110]3 years ago
3 0
C# program code:

int i = 0
while (i<=1000)
{
console.Writeline("{0}",i);
i = i + 10;
}

Explanation:
First we set variable to initial value. In this example it is 0. Then we enter into while loop. This type of loop executes the code until the condition is fulfilled. In our case while loop checks if i <=1000. It is and then it writes it on the screen. Next step is to increase it by 10. Then it does the same code again.
Last number that will be printed is 1000. After that it will increase i to 1010 and it will exit the loop.
You might be interested in
Who is the mother of computer science ?<br>Thank you ~​
Pepsi [2]

Answer:

ADA LOVELACE

Explanation:

Ada Lovelace was born into a historically famous family. She could have lived well through her father's fame and her mother's money-instead she decided to write a computational algorithm, earning her the title of the mother of programming, and became the first computer programmer in the mid-1800s1,2.

HOPE IT'LL HELP

3 0
2 years ago
Read 2 more answers
Suppose that an algorithm uses only comparisons to find the i th smallest element in a set of n elements. Show that it can also
ELEN [110]

Answer:

If the given algorithm employs m comparisons to determine 'x' that is the ith smallest element in a given sample of n elements. By tracing the m comparisons in the given log, the i -1 smaller elements can be determined by the theory of transitivity. Furthermore, If x > a and a > b, then x > b can be estimated without actually conducting a comparison between x and b. Similarly, the n - i larger elements can be found, too. It is uncertain that there is a possibility of x greater than a certain number or not by the comparison in the given log. It is not possible. Otherwise, the algorithm does not work correctly.

Explanation:

If the given algorithm employs m comparisons to determine 'x' that is the ith smallest element in a given sample of n elements. By tracing the m comparisons in the given log, the i -1 smaller elements can be determined by the theory of transitivity. It is uncertain that there is a possibility of x greater than a certain number or not by the comparison in the given log.

4 0
3 years ago
What happens when a string doesn’t include the separator that’s specified in the parameter of the split() method?
Brilliant_brown [7]

Answer:

Nothing

Explanation:

If a seperator value is provided as an argument within the split() method and the string does not include that value then the string will remain the same and will not be split. If no value is provided as an argument within the split() method, then the string that the method is being applied to will automatically be split in every space character (" ") that exists within it. This is the default value of split() when no argument is passed to it.

5 0
3 years ago
The ____ dialog box provides options for moving charts between worksheets and chart sheets.
Tresset [83]
The move chart dialog box provides options for moving charts between worksheets and chart sheets.

So the correct answer is A.

Hope this helps :)
~Davinia.
4 0
3 years ago
What is the definition of a WAP?
xenn [34]

Answer:

Waffles and Pancakes

Explanation:

yes

actually tho: wireless access point

7 0
3 years ago
Read 2 more answers
Other questions:
  • What were the first microblogs known as
    12·2 answers
  • Consider the function definition void Demo( int&amp; intVal, float floatVal ) { intVal = intVal * 2; floatVal = float(intVal) +
    7·1 answer
  • The Maui coffee shop sells coffee at $10.50 a pound plus the cost of shipping. Each order ships for $0.86 per pound + $1.50 fixe
    14·1 answer
  • Jorge is sending a large image file to a friend as part of a shared classroom project. Which of the following is most likely tru
    11·1 answer
  • To combine concepts or ideas into a whole is called
    11·2 answers
  • What is plagiarism? Suppose you are an online store owner &amp; you caught someone copying your store items and selling them at
    9·1 answer
  • Create a website on budget
    14·1 answer
  • Help please i will give Brainliest
    7·1 answer
  • Protecting data security, privacy, and integrity are important database functions. What activities are required in the DBA's man
    10·1 answer
  • if you dont' have access to nessus, which of the following can be used by an attacker to gain information about remote *nix host
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!