//Не знаю, что Вы хотели сделать этим for(a<=b...
//Dev-C++ 4.9.9.2
#include <iostream>
using namespace std;
int main(){
int a,b=0;
cin>>a>>b;
for(int i=a;i<=b;i++)
cout<<i<<endl;
for(int i=b;i<=a;i++)
cout<<i<<endl;
cin.get();
cin.get();
return 0;
}
Пример ввода 1:
5
1
Пример вывода 1:
1
2
3
4
5
Пример ввода 2:
1
5
Пример вывода 2:
1
2
3
4
5
#1
<script>
var b = document.getElementsById("process");
b.onclick = function() {
alert("yipee, button is pressed! :)");
}
</script>
<button id="process">PRESS THERE</button>
#2
<script>
<span>var image = document.getElementsById("image");
</span>image.<span>onmouseenter = function() {
alert("Вам нравится эта картинка?");
}</span>
</script>
<img id="image" src="" width="200px" height="200px">
А) 1000<span> − 11</span><span> = </span><span>101
б) </span>10011<span> + 1</span>011<span> = 11</span><span>110
в) </span>101<span> × </span>101<span> = 11</span><span>001</span>
Смотрите в приложении.
Всего доброго!