Hindi, asked by nakrapreeti, 10 months ago

what is meaning of Pratik and one sentence ​

Answers

Answered by pranit514
0

Answer:

Pls Mark as brainliest and I will follow you in return

Answered by gajulapavanhruthik33
0

Answer:

#include <string>

#include <iostream>

using namespace std;

int main()

{

string ptr;

char ch;

int i,x,count=0;

cin>>ch;

getline(cin,ptr);

for(i=0;i<=100;i++)

{

if(ptr[i]==ch)

count++;

}

if(count>0)

std::cout << ch << " is present in " << "P"<<ptr <<"\n";

else

std::cout << ch << " is not present in " << ptr << "\n";

}

Similar questions