Write a program to accept a sequence
of characters (Ex: Your Name or a sentence ).
a) Diepay the characters when a
DOT ('.') is given as input
Answers
Answered by
1
Answer:
Explanation:
#include<iostream>
using namespace std;
void main()
{
string s;
cin>>s;
string k=s;
cout<<s;
if(k=='.')
cout<<s;
}
Similar questions