Deutsch
Telegram

Thread//Mavzu: While operatori

10 Nachrichten · –
❤
//Mavzu: While operatori //N natural soni berilgan. Shu son bo’luvchilari yig’indisini //chiqaruvchi dastur tuzilsin. Masalan: N=15; javob: 24 ( chunki //1+3+5+15) package While; import java.util.Scanner; public class While_9 { public static void main(String[] args) { Scanner in=new Scanner(System.in); int a,b=1; int S=0; System.out.print("Sonni kiriting : "); a=in.nextInt(); //b=in.nextInt(); while (a>b){ if(a%b==0){ S+=a; System.out.println(S); } b++; } } }
  1. C
    C++ vs Python
    Savoli nima
  2. C
    C++ vs Python
    S ni sikldan tashqariga chiqaring
      1. C
        C++ vs Python
        Ha
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