Deutsch
Telegram

Thread/******************************************************************************

2 Nachrichten · –
G
/****************************************************************************** Online C# Compiler. Code, Compile, Run and Debug C# program online. Write your code in this editor and press "Run" button to execute it. *******************************************************************************/ using System; class HelloWorld { static void Main() { int[] arr = {5, 2, 3, 4, 6}; int a, b, n = arr.Length; Console.Write(" a ni kiriting: "); a= Convert.ToInt32(Console.ReadLine()); Console.Write(" b ni kiriting: "); b= Convert.ToInt32(Console.ReadLine()); int sum=0, k=0; for(int i=0; i<n; i++){ if(i<a && i>b){ sum+=arr[i]; k++; } } double urtacha = sum * 1.0 / k; Console.WriteLine(urtacha); } }
CC++ vs PythonC++ vs Python@cpp_vs_python · Gruppe · Technik
114Mitglieder39 409Nachrichten im Index
Community-Feed In Telegram öffnen

Ein offener öffentlicher Feed aus dem Suchindex ChatCrawler — „Google für das öffentliche Telegram“; wird aktualisiert, während die Community gecrawlt wird. Zeiten in UTC.

Nur öffentliche Inhalte, offizielle Telegram-API. Über uns · FAQ · Grenzen des Index · Seite entfernen · Katalog · Suche · So zählen wir