fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. char character;
  6.  
  7. for (int i = 1; i <= 127 ; i++)
  8. {
  9. character = static_cast<char>(i);
  10. cout << character ;
  11.  
  12. if (i % 16 == 0)
  13. {
  14. cout << endl;
  15. }
  16.  
  17. else
  18. cout << " ";
  19. }
  20. // your code goes here
  21. return 0;
  22. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
        	 
   
   
                
! " # $ % & ' ( ) * + , - . / 0
1 2 3 4 5 6 7 8 9 : ; < = > ? @
A B C D E F G H I J K L M N O P
Q R S T U V W X Y Z [ \ ] ^ _ `
a b c d e f g h i j k l m n o p
q r s t u v w x y z { | } ~