Գրել ծրագիր, որն էկրանին կտպի մուտքագրված տողը, տեղադրելով բացատ ամեն սիմվոլից հետո։
Օրինակ՝
Մուտք -
“Hello World”
։ Ելք - “H e l l o W o r l d”
։#include <iostream> int main() { const int MAX_SIZE = 256; char input[MAX_SIZE]; std::cout << "Insert string. Max "<< MAX_SIZE - 1 << " symbols: "; std::cin.getline(input, MAX_SIZE); std::cout << input << std::endl; // put your code here }