Написали бы на каком языке программирования Вам нужно. Вот на java ^_^
<span>import java.io.BufferedReader<span>;
</span>import java.io.InputStreamReader<span>;
</span>
public class prog {
public static void main(String[] args) throws Exception{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))<span>;
</span> while(true) {
int a = Integer.parseInt(reader.readLine())<span>;
</span> if(a%3==0){
System.out.println("Делится")<span>;
</span> }
else{
System.out.println("Не делится")<span>;
</span> }
}
}
}</span>
Function to_base(n: integer; base: integer): integer;
begin
if n = 0 then
to_base := 0
else
to_base := (n mod base) + 10 * to_base(n div base, base);
end;
var
n: integer;
begin
readln(n);
writeln(to_base(n, 3));
writeln(to_base(n, 5));
<span>end.</span>
Var
X,b:real;
Begin
WriteLn('y=7x/(3x-12)');
Write('X = ');ReadLn(X);
WriteLn('Y = ',7*X/(3*X-12));
WriteLn;
WriteLn('y=4x/(2,6-b)');
Write('X = ');ReadLn(X);
Write('b = ');ReadLn(b);
WriteLn('Y = ',4*X/(2.6-b));
End.
Следовательно, эта дробь правильная