كنسولc#

c# console
c# console













































پدر كنسول وديتابيس تا اين لحظه در پايه يازدهم سال 1400
آقاي پارسا ولي زاده
مي باشدآفرين 100 آفرين درود برشما


parsa
parsa

آقاي ولي زاده تمامي تمرينات را به نحواحسن انجام داده است بنده انتظار دارم كه همه عين ايشون كار را تحويل دهد.ونمره پاياني ايشان 20 شده است.

آقاي
حسن قرباني19
درود برشما

آقاي
آرشام رضاخاني18
درود برشما

آقاي
امير برغشي 14
به دور از انتظار نسبت به ترم قبل وزحمتكش

آقاي
رهام دوست حسيني 13.8

آقاي
ابوالفضل كلانتري 13.8

نمرات تئوري پودمان 2 (Console)












35 Comments on كنسولc#

  1. avatar
    سام جوادی فر says:

    }
    // سوال 2-الف
    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    }
    // سوال دو -ب
    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);

  2. avatar
    roham dost hosaini says:

    سوال 2:

    class Program
    {
    // الف
    for (int i = 0; i<studentsScores.Length; i++)
    {
    Console.WriteLine(studentsScores[i]);
    }
    // ب
    for (int i = 0; i<studentsScores.Length;i++)
    {
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }

  3. avatar
    mohammadjavad esfahani says:

    // 2 a
    for (int i = 0; i < studentsScores.Length; i++)
    {
    Console.WriteLine(studentsScores[i]);
    }
    // 2 b
    for (int i = 0; i < studentsScores.Length; i++)
    {
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }

  4. avatar
    سام جوادی فر says:

    }
    // سوال سه -الف
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // سوال سه -ب
    int max = 0;
    int min = 0;
    for (int i = 0;i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }
    // سوال سه -ج
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }

  5. avatar
    ; parhamrhamani says:

    نام نام خانوادگی:پرهام رحمانی
    using System;

    public class Program
    {
    public static void Main()
    {

    Console.WriteLine(“enter student count: “);
    int studentCount = int.Parse(Console.ReadLine());

    studentCount = 5;
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("Enter Score: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    // 2 – الف
    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    }
    // 2 – ب
    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);

  6. avatar
    سام جوادی فر says:

    }
    // سوال چهار
    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }
    }
    }
    }

  7. avatar
    roham dost hosaini says:

    سوال 2:

    class Program
    {
    // الف
    for (int i = 0; i<studentsScores.Length; i++)
    {
    Console.WriteLine(studentsScores[i]);
    }
    // ب
    for (int i = 0; i<studentsScores.Length;i++)
    {
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }

  8. avatar
    sina says:

    amirsinakarimi;soal2
    }
    // 2 – الف
    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    }
    // 2 – ب
    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);

  9. avatar
    ; parhamrhamani says:

    نام نام خانوادگی:پرهام رحمانی
    using System;

    public class Program
    {
    public static void Main()
    {

    Console.WriteLine(“enter student count: “);
    int studentCount = int.Parse(Console.ReadLine());

    studentCount = 5;
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("Enter Score: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }

    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    }

    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }
    // 3 – الف
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // 3 – ب
    int max = 0;
    int min = 0;
    for (int i = 0;i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }
    // 3 – ج
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }

  10. avatar
    mohammadjavad esfahani says:

    // 3 a
    Array.Sort(studentsScores);
    for (int i = 0; i < studentsScores.Length; i++)
    {
    Console.WriteLine(studentsScores[i]);
    }
    // 3 b
    int max = 0;
    int min = 0;
    for (int i = 0; i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }

  11. avatar
    ArshamRezakhani; says:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    namespace ConsoleApplication6
    {
    class Program
    {
    static void Main(string[] args)
    {
    //Arsham Rezakhani
    // 1 – b
    Console.WriteLine(“enter student count: “);
    int studentCount = int.Parse(Console.ReadLine());
    // 1 – alef
    studentCount = 5;
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("Enter Score: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    // 2 – alef
    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    }
    // 2 – b
    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }
    // 3 – alef
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // 3 – b
    int max = 0;
    int min = 0;
    for (int i = 0;i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }
    // 3 – jim
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // 4
    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }

    }
    }
    }

  12. avatar
    ; parhamrhamani says:

    نام نام خانوادگی:پرهام رحمانی
    using System;

    public class Program
    {
    public static void Main()
    {

    Console.WriteLine(“enter student count: “);
    int studentCount = int.Parse(Console.ReadLine());

    studentCount = 5;
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("Enter Score: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }

    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    }

    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }

    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }

    int max = 0;
    int min = 0;
    for (int i = 0;i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }

    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // 4
    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }
    }
    }
    }

  13. avatar
    sina says:

    amirsinakarimi;soal3
    }
    // 3 – الف
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // 3 – ب
    int max = 0;
    int min = 0;
    for (int i = 0;i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }
    // 3 – ج
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);

  14. avatar
    roham dost hosaini says:

    سوال 3:

    // الف
    Array.Sort(studentsScores);
    for (int i = 0; i<studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // ب
    int max = 0;
    int min = 0;
    for (int i = 0; i= max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }
    // ج
    Array.Sort(studentsScores);
    for (int i = 0; i<studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }

  15. avatar
    sina says:

    amirsinakarimi;soal4
    }
    4
    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }
    }
    }
    }

  16. avatar
    پارسا حسنی قره بابا says:

    سوال3
    الف)Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    ب)int max = 0;
    int min = 0;
    for (int i = 0;i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }

  17. avatar
    roham dost hosaini says:

    سوال 3:

    // الف
    Array.Sort(studentsScores);
    for (int i = 0; i<studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // ب
    int max = 0;
    int min = 0;
    for (int i = 0; i= max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }
    // ج
    Array.Sort(studentsScores);
    for (int i = 0; i<studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }

  18. avatar
    mohammadjavad esfahani says:

    {
    if (studentsScores[i] >= 18)
    {
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16)
    {
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10)
    {
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }

  19. avatar
    roham dost hosaini says:

    سوال3:
    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }

  20. avatar
    roham dost hosaini says:

    سوال 4:

    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }

  21. avatar
    پارسا حسنی قره بابا says:

    سوال2
    الف)
    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    ب)
    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }

  22. avatar
    پارسا حسنی قره بابا says:

    سوال4
    الف)
    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }
    }
    }
    }

  23. avatar
    BarboodGhoolamhosseini says:

    using System;

    public class Program
    {
    public static void Main()
    {
    // S1 – ب
    Console.WriteLine(” plase enter student count: “);
    int studentCount = int.Parse(Console.ReadLine());
    // S1 – الف
    studentCount = 5;
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("please Enter Score: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    // S2 – الف
    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    }
    // S2 – ب
    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }
    // S3 – الف
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // S3 – ب
    int max = 0;
    int min = 0;
    for (int i = 0;i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }
    // S3 – ج
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    // S4
    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }
    }
    }
    }

  24. avatar
    آرمین says:

    using System;

    public class Program
    {
    public static void Main()
    {
    // Armin Asefi
    // نمایش یکی در میان رشته
    Console.WriteLine(“enter a string: “);
    string str = Console.ReadLine();
    for (int i = 0;i < str.Length; i+=2){
    Console.Write(str[i]);
    }
    }
    }

  25. avatar
    آرمین آصفی - سوال 1 - الف says:

    using System;

    public class Program
    {
    public static void Main()
    {
    int studentCount = 5;
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("nomre ra vared konid: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    }
    }

  26. avatar
    آرمین آصفی - سوال 1 - ب says:

    using System;

    public class Program
    {
    public static void Main()
    {
    Console.WriteLine(“tedad danesh amooz ra vared konid: “);
    int studentCount = int.Parse(Console.ReadLine());
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("nomre ra vared konid: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    }
    }

  27. avatar
    آرمین آصفی - سوال 2 - الف says:

    using System;

    public class Program
    {
    public static void Main()
    {
    Console.WriteLine(“tedad danesh amooz ra vared konid: “);
    int studentCount = int.Parse(Console.ReadLine());
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("nomre ra vared konid: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    for (int i = 0;i < studentsScores.Length; i++){
    Console.WriteLine(studentsScores[i]);
    }
    }
    }

  28. avatar
    آرمین آصفی - سوال 2 - ب says:

    using System;

    public class Program
    {
    public static void Main()
    {
    Console.WriteLine(“tedad danesh amooz ra vared konid: “);
    int studentCount = int.Parse(Console.ReadLine());
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("nomre ra vared konid: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    for (int i = 0;i < studentsScores.Length;i++){
    if (studentsScores[i] < 10)
    Console.WriteLine(studentsScores[i]);
    }
    }
    }

  29. avatar
    آرمین آصفی - سوال 3 - الف says:

    using System;

    public class Program
    {
    public static void Main()
    {
    Console.WriteLine(“tedad danesh amooz ra vared konid: “);
    int studentCount = int.Parse(Console.ReadLine());
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("nomre ra vared konid: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    }
    }

  30. avatar
    آرمین آصفی - سوال 3 - ب says:

    using System;

    public class Program
    {
    public static void Main()
    {
    Console.WriteLine(“tedad danesh amooz ra vared konid: “);
    int studentCount = int.Parse(Console.ReadLine());
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("nomre ra vared konid: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    int max = 0;
    int min = 0;
    for (int i = 0;i = max)
    max = studentsScores[i];
    if (studentsScores[i] <= min)
    min = studentsScores[i];
    }
    }
    }

  31. avatar
    آرمین آصفی - سوال 3 - ج says:

    using System;

    public class Program
    {
    public static void Main()
    {
    Console.WriteLine(“tedad danesh amooz ra vared konid: “);
    int studentCount = int.Parse(Console.ReadLine());
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("nomre ra vared konid: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    Array.Sort(studentsScores);
    Array.Sort(studentsScores);
    for (int i = 0;i < studentsScores.Length;i++){
    Console.WriteLine(studentsScores[i]);
    }
    }
    }

  32. avatar
    آرمین آصفی - سوال 4 says:

    using System;

    public class Program
    {
    public static void Main()
    {
    Console.WriteLine(“tedad danesh amooz ra vared konid: “);
    int studentCount = int.Parse(Console.ReadLine());
    int[] studentsScores = new int[studentCount];
    for (int i = 0; i < studentsScores.Length; i++){
    Console.WriteLine("nomre ra vared konid: ");
    studentsScores[i] = int.Parse(Console.ReadLine());
    Console.WriteLine(studentsScores[i]);
    }
    for (int i = 0;i = 18){
    Console.WriteLine(“Group A: ” + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] >= 16 && studentsScores[i] = 10 && studentsScores[i] <= 16){
    Console.WriteLine("Group C: " + Convert.ToString(studentsScores[i]));
    }
    else if (studentsScores[i] <= 10){
    Console.WriteLine("Group D: " + Convert.ToString(studentsScores[i]));
    }
    }
    }
    }

  33. avatar
    امیر برغشی says:

    1) الف

    float[] n; new float[c];
    for (int i = 0; i <= n – i++;)
    {
    Console.Write("please enter number :");
    n[i] = float.Parse(Console.ReadLine());
    ​{

    ب)

    Console.WriteLine("enter n of student");
    ​int c = int.Parse(Console.ReadLine());

  34. avatar
    mani ahmadi says:

    using System;

    public class Program
    {
    public static void Main()
    {
    Console.WriteLine(“Enter Your String: “);
    string text = Console.ReadLine();
    for (int i = text.Length – 1; i >= 0;i–){
    Console.Write(text[i]);
    }
    }
    }

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *