Computer Science, asked by snehamagesh30, 9 months ago

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 venkatavineela3
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