Answer:
if you are scared just do it through text and btw life is short go for it
Explanation:
and if he says no there is plenty of more people out there
double-clicking the title bar
clicking the question mark in the upper-right corner of the interface
So here is the code in Python:
n = 0.00 #this is a float because there are some numbers that are decimals.
while n < 20: #n which is 0.00 and while it is lower than 20 if runs the code below
n = n + 1 #it will add 1 to n everything it runs the code.
k = n / 2 #it will divide whatever n is everytime by 2
print(str(n) + '/2: ') # it's printing the number it's on
print(k) # prints the answer for the n.
You can change n to add by any, make n any num instead of 0.00 and you can change the while condition from n < 20 to any other logical statement. If you want to get creative you can take 2 inputs for numbers and make one of them the starting number and other one is the ending number. Also make sure to make n a number lower than you starting point because if you set n as your starting point then it will skip it.
In theory, you can of course use any language you like, but there are a few commonly used ones.
From your list it would be c++ or c#, because if you actually have the interest long term then those will be the languages used by the various "big"/well known/used engines.
I would suggest c#, because it can be used with the Unity engine, which has an enormous community with help resources especially to start out and learn to program or game development.
On the other hand I would also suggest JavaScript. It isn't used for any of the big title development, but for all the *.io games like slither and so on. When looking at such games you will quickly notice that they are generally much simpler (for example 2D not 3D), because game engines are just simpler in JavaScript. While this is obviously limiting it might help to get something simple actually working, instead of getting stuck in extra complexities and additional features until you lose your motivation.
The basic programming you learn is still the same, so after you have learned a language you can quickly pick up most others.
<span />
Answer:
Following are the answer to this question:
In question 1, The index value will be "99".
In question 2, The index value will be "100".
Explanation:
In any programming language, the indexing of array always starts with the 0, and in the given question two points are defined, which can be explained as follows.
- In point 1, It is declared that an array is defined that stores 100 elements, and its indexing is based on zero, that's why its 100th element index value is 100.
- In point 2, At this point, it is defined, that its indexing starts from 1, then its 100th element indexing value is 100.