1 solutions

  • 0
    @ 2025-11-5 16:00:22

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	for(int i=0;i<=100;i++)
    	{
    		if(i%7==0)
    		cout<<i<<endl;
    	}
       return 0;
    }
    
    

    Pascal :

    var i:longint;
    begin
      for i:=0 to 100 do
      if i mod 7=0 then writeln(i);
    end.
    
    • 1

    Information

    ID
    17430
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By