English
Open in Telegram

Thread//Mavzu: While operatori

10 messages · –
❤
//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
CC++ vs PythonC++ vs Python@cpp_vs_python · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count