fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. static const char *constant = "AVC";
  7. int i = 0;
  8. while (constant[i] != '\0')
  9. {
  10. cout<<constant[i]<<endl;
  11. ++i;
  12. }
  13. // your code goes here
  14. return 0;
  15. }
Success #stdin #stdout 0s 4396KB
stdin
Standard input is empty
stdout
A
V
C