Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  sss
Language: C/C++
Code:

     
#include <iostream>
#include <ctime>
using namespace std;


int main()
{
     setlocale(LC_ALL, "Russian");
     srand(time(0));
     char stroka=100;
     char stroka2=100;
     const int razmer  = 5;
     char arr[razmer];
     
     //cin>> stroka;
     
     //cout<<stroka;

     for(int i = 0;i<razmer; i++)
     {
         cin>> stroka;
         arr[i]=stroka;
     }
     cout<<endl;
     for(int i = 0;i<razmer; i++)
     {
         
         cout<<arr[i];
     }
}
Comments: