1 #include <iostream>
 2 using namespace std;
 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */
 4 
 5 int main(int argc, char** argv) {
 6     char *a="BASIC";
 7     for(int i=4;i>=0;i--)
 8     {
 9         cout.put(*(a+i));
10         cout.put('\n');
11     }
12     return 0;
13 }

 

相关文章:

  • 2021-11-17
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-08-05
猜你喜欢
  • 2022-12-23
  • 2021-10-20
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
  • 2022-03-09
相关资源
相似解决方案