using System; public class Test { public static void Main() { int ekran = 40; string space = " "; string ost = "Export Oriented Replace of Import"; for (int i = 1; i <= ekran+20; i++) {space = space + " ";} ost = space + ost + space; for (int i = 1; i <= ost.Length-ekran -1; i++) Console.Write(ost.Substring(i, ekran )); } }
Standard input is empty
E Ex Exp Expo Expor Export Export Export O Export Or Export Ori Export Orie Export Orien Export Orient Export Oriente Export Oriented Export Oriented Export Oriented R Export Oriented Re Export Oriented Rep Export Oriented Repl Export Oriented Repla Export Oriented Replac Export Oriented Replace Export Oriented Replace Export Oriented Replace o Export Oriented Replace of Export Oriented Replace of Export Oriented Replace of I Export Oriented Replace of Im Export Oriented Replace of Imp Export Oriented Replace of Impo Export Oriented Replace of Impor Export Oriented Replace of Import Export Oriented Replace of Import Export Oriented Replace of Import Export Oriented Replace of Import Export Oriented Replace of Import Export Oriented Replace of Import Export Oriented Replace of Import Export Oriented Replace of Import xport Oriented Replace of Import port Oriented Replace of Import ort Oriented Replace of Import rt Oriented Replace of Import t Oriented Replace of Import Oriented Replace of Import Oriented Replace of Import riented Replace of Import iented Replace of Import ented Replace of Import nted Replace of Import ted Replace of Import ed Replace of Import d Replace of Import Replace of Import Replace of Import eplace of Import place of Import lace of Import ace of Import ce of Import e of Import of Import of Import f Import Import Import mport port ort rt t