Сформировать и вывести на экран заданный двумерный массив (для заполнения массива использовать формулу) — C++(Си)

10 20 30 40
20 30 40 50
30 40 50 60
40 50 60 70

#include <iostream.h>
#include <iomanip.h>
 
int main(int argc, char *argv[])
{
   const int SIZE = 4;
   int array[SIZE][SIZE] = {0};
 
   for (int i = 0; i < SIZE; i++)
   {
      for (int j = 0; j < SIZE; j++)
      {
         array[i][j] = (i + 1) * 10 + j * 10;
         cout << setw(4) << array[i][j];
      }
   cout << endl;
   }
   return 0;
}

13 Thoughts to “Сформировать и вывести на экран заданный двумерный массив (для заполнения массива использовать формулу) — C++(Си)”

  1. Wow, fantastic blog format! How long have you ever been running
    a blog for? you make running a blog look easy. The entire look of your web site is magnificent, as smartly as the content material!
    You can see similar here najlepszy sklep

  2. Please let me know if you’re looking for a article writer for your weblog.

    You have some really great posts and I think I would be a good asset.
    If you ever want to take some of the load off, I’d love to write
    some content for your blog in exchange for a link back to
    mine. Please blast me an email if interested. Many thanks!
    I saw similar here: Sklep

  3. Its like you read my mind! You appear to know a lot about
    this, like you wrote the book in it or something.
    I think that you can do with a few pics to drive the message home
    a bit, but other than that, this is wonderful blog. A great
    read. I will certainly be back. I saw similar here: Najlepszy sklep

  4. Good day! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Appreciate it!
    You can read similar art here: Sklep

  5. Hey there! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted
    keywords but I’m not seeing very good results.
    If you know of any please share. Kudos! You can read similar blog here:
    Sklep

  6. It’s very interesting! If you need help, look here: ARA Agency

  7. It’s very interesting! If you need help, look here: ARA Agency

  8. Hello there! Do you know if they make any plugins
    to assist with Search Engine Optimization? I’m trying to get my blog to rank
    for some targeted keywords but I’m not seeing very good
    success. If you know of any please share. Cheers!
    You can read similar text here: E-commerce

  9. Hello! Do you know if they make any plugins to help with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not
    seeing very good success. If you know of any please share.
    Appreciate it! You can read similar article here: Ecommerce

  10. Hello there! Do you know if they make any plugins to help with Search Engine
    Optimization? I’m trying to get my site to rank for some targeted keywords but I’m not seeing very good results.
    If you know of any please share. Kudos! I saw similar art here:
    Scrapebox AA List

  11. Howdy! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my website to rank for some targeted keywords
    but I’m not seeing very good gains. If you know of any please share.

    Many thanks! You can read similar art here: Backlink Building

  12. Howdy! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying
    to get my website to rank for some targeted keywords but I’m not seeing very good results.
    If you know of any please share. Appreciate it!

    You can read similar blog here: Backlink Portfolio

  13. Howdy! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my website to rank for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Many thanks!
    You can read similar text here: Scrapebox List

Leave a Comment