For Cyklus

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View For Cyklus as PDF for free.

More details

  • Words: 67
  • Pages: 1
Cyklus for for ( ____ ; ____;____ ) //dolní mez, hroní mez, krok { příkaz 1; příkaz 2; . . . } Vytvořte program pro sečtení čísel od 1 do zadaného čísla int d = 0; Console.WriteLine(“Zadej číslo“); int a = Convert.ToInt32 (Console.ReadLine()); for (int i = 1; i < = a; i ++) { d=d+i; // d + = i; Console.WriteLine(“{0} \t {1}“ , i,d); }

Related Documents

For Cyklus
June 2020 1
Tov Cyklus 08
December 2019 7
For
June 2020 21
For
October 2019 42
For
May 2020 28
For
December 2019 40