Answer:
Following are statement is given below
int k=1,total=0; // variable declaration
while(k<50) // iterating the while loop
{
total=total+k*k;// calculating the square
k=k+1; // increments the value of k by 1
}
Explanation:
Following are the description of Statement.
- Declared a variable "total" and "k" of the "integer " type initialized the total to 0 and "k" to 1.
- Iterating the while loop for less then 50 .In this loop, we calculating the sum of square of first 50 number in the "total" variable .
- After that increment the value of "k" variable by 1 to execute the loop less then 50 .
Whats the question lmaoooooooooooooooooooooo
Answer:
This is false
The text just goes out of the slide and you can't see it until you lower the font size or until you delete some of it.
Explanation:
<h2>Scratch programming will be the right choice.</h2>
Explanation:
Here in the given situation, the target user is students who are new to programming languages. So "Scratch" would be the best choice.
Reason:
- Programmer-friendly
- User need not remember syntax since the syntax are provided and only place holders needs to filled
- Like any other programming language we can debug by selecting the portion of the code and use double-click to view the partial output
- simple GUI
- It's a free-ware
- It has basic looping structures