#36 For Loop Count | Loops | 100 Coding Challenges In C#

Поделиться
HTML-код
  • Опубликовано: 1 авг 2022
  • Another look at what we can do with for loops!
    Check out Swarm: ridhwandev.github.io/Swarm/
    --------------------------------------------------
    I will be posting a few new videos weekly for the 100 coding challenge. This is intended for people who are learning programming and want to test their skills. Follow me in this series as the challenges will be increasing in difficulty as we go along.
    These challenges will cover all programming topics required for A Level Computing/Computer Science. So if you're doing your A Levels, then get involved! You won't regret it.
    Let me know how you're getting along and if you want to keep seeing more content like this!

Комментарии • 2

  • @tsxukie1281
    @tsxukie1281 6 месяцев назад

    using System;
    namespace asasasa
    {
    class Program
    {
    static void Main(string [] args)
    {
    Console.WriteLine("Enter a number :");
    int num = int.Parse(Console.ReadLine());
    for (int i = 0; i < num; i ++)
    {
    Console.WriteLine("Number" + i )
    }
    }
    }
    }
    i just made it like this and it's quite different from yours but the output is just the same.

    • @tsxukie1281
      @tsxukie1281 6 месяцев назад

      just need to add = in the codition and change the value of i to 1