Deutsch
Telegram

Thread using System;

5 Nachrichten · –
G
using System; public class HelloWorld {     public static int sum(int n,int a){         int s=0;         for(int i=0;i<=n;i++){ s=s+Math.Pow(a,i);         }         return s;     }     public static void Main(string[] args)     {         int n=Convert.ToInt32(Console.ReadLine()); int a=Convert.ToInt32(Console.ReadLine()); int S=sum(n,a);         Console.WriteLine (S); Console.ReadKey();     } }
  1. S
    Yo funksiyani double qling yo qaytargan qiymatini int qling
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