#include <iostream>
using namespace std;
int main()
{
char str[50];
std::cin.getline(str,50);
std::cout<<"the number of characters extracted are:"<<std::cin.gcount();
return 0;
}
using namespace std;
int main()
{
char str[50];
std::cin.getline(str,50);
std::cout<<"the number of characters extracted are:"<<std::cin.gcount();
return 0;
}
No comments:
Post a Comment