iExpress repeater

From Esolang
Jump to navigation Jump to search

The iExpress repeater is a program made by ↑ which you input a value and the code prints "IEXPRESS!" that many times .

Examples

Python

inp = input()
for i in range(inp):
    print("IEXPRESS!")

or:

print(int(input())*"IEXPRESS!\n")

Free2Edit

tnr1+5+5l1gnws-1<<IEXPRESS!>>r1ocl1we

C

#include <stdio.h>
int main(){int a;scanf("%d",&a);for(int i=0;i<a;i++){printf("IEXPRESS!\n");}return 0;}

C++

#include <iostream>

int main() {
  int n;
  std::cin >> n;

  for (int i = 0; i < n; i++) {
    std::cout << "IEXPRESS!" << std::endl;
  }

  return 0;
}