cetaklah bilangan 1 sampai dengan 4 menggunakan downto.
dalam c++
#include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
for(int i=1;i<=4;i++)
cout<<i;
return 0;
}
No comments:
Post a Comment