Computer Science, asked by swethachowdary845, 10 months ago

Write a program to generate the first 'n' terms of the following series 121, 225, 361,...

Answers

Answered by Anonymous
2

Explanation:

. For these fast letters, you can use a small notecard. To write a long letter with a lot of information and detail, get out several pages of stationery or a large card.

If you don't think you'll be able to fit everything you want to say in a card, use note paper, lined paper or some smart/Pretty stationery. This way you can add extra sheets.

Answered by manoj2425
12

Answer:

#include<iostream>

int main()

{

 int x;

 std::cin>>x;

 switch(x)

 {

   

   case 3 : std::cout<<"121 225 361";

   break;

   case 4 : std::cout<<"121 225 361 529";

   break;

   case 5 : std::cout<<"121 225 361 529 729";

   break;

 }

}

Explanation:

Similar questions