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
Blababa [14]
3 years ago
5

Write a pseudocode to print the sum of first 10 terms in the series: 2, 4, 9, 16, 25…

Computers and Technology
1 answer:
Ksenya-84 [330]3 years ago
7 0

Answer:

2,4,9,16,25,36,49,64,81, 110 , 121, 144

You might be interested in
R7.1 Carry out the following tasks with an array:
Andru [333]

Answer:

Following are the program in the C++ Programming Language.

//set header file or namespace

#include <iostream>

using namespace std;

//define main function

int main() {

//set integer type array with indexing 10

 int a[10];

//set integer type variable to 1

 int i=1;

//set element in 1st index

 a[0]=17;

//set element in last index

 a[9]=29;

//set while loop for the remaining elements

 while(i<9)

 {

//set -1 in the remaining elements

   a[i]=-1;

   i++;

 }

//set for loop to print array

 for ( int j = 0; j < 10; j++ ) {

   cout << a[j]<<endl;

 }

}

<u>Output:</u>

17

-1

-1

-1

-1

-1

-1

-1

-1

29

Explanation:

In the following program, we define the main function "main()" and inside it.

  • Set an integer type array element "a[]" with index value 10.
  • Set integer data type variable "i" initialize to 1.
  • Set elements in the first and last place in the array.
  • Set the while loop to initialize elements for the remaining place.
  • Set the for loop to print the array elements.
6 0
3 years ago
Create a loop that will output all the numbers less than 200 that are evenly divisible (meaning remainder is zero) by both 5 and
Readme [11.4K]

Answer:

public class num7 {

   public static void main(String[] args) {

       int n =1;

       while(n<200){

           if(n%5==0 && n%7==0){

               System.out.print(n);

               System.out.print(",");

           }

           n++;

       }

   }

}

Explanation:

  • In Java programming Language
  • Create and initialize an int variable (n=1)
  • Create a while loop with the condition while (n<200)
  • Within the while loop use the modulo operator % to check for divisibility by 5 and 7
  • Print the numbers divisible by 5 and 7
4 0
3 years ago
Types of Hazards Mitigation Measures
Fynjy0 [20]

Answer:

auto mechanics

Explanation:

keeps dirt and grease off hands

4 0
3 years ago
Read 2 more answers
What is authenticity​
jeka94

Answer:

the quality of being authentic

Explanation:

7 0
3 years ago
You want to compare the goal blocking percentages of all goalies in the National Hockey League. Which type of chart would be bes
galina1969 [7]

Answer:

Bar Graph

Explanation:

Bar graph is used to capture data but is also able to store more data

6 0
3 years ago
Other questions:
  • Corey set up his presentation for delivery to his team. The information he had to convey was critical to their job performance.
    6·3 answers
  • What is the answer of this question
    10·1 answer
  • Write a program that takes as input a number of kilometers and prints the corresponding number of nautical miles. Use the follow
    9·1 answer
  • Shira’s Shoes sold 875,000 pairs of sandals in June, which was 70% of the total number of shoes sold. How many shoes did the com
    14·2 answers
  • Which soft skills would these mobile app developers need to use in the situations described?
    8·2 answers
  • While num_printed != num_stars: print('*') Sample output with input: 3 * * *
    15·1 answer
  • Can i get some help please .
    5·2 answers
  • Calculate the value of z. Given v=4, w=5, x=8, y=2z= (v+ w) * x / y;print (“value of z is “, z)
    8·1 answer
  • Jabari created new video game for his coding course. What is one way he should format his pseudocode?
    12·1 answer
  • Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!