New Doc XXXXXXXXXX Scanned by CamScanner Scanned by CamScanner

1 answer below »
please answer Q #3 by coding and explain is necessary to show my work to the professor.


New Doc 2019-09-02 12.11.21 Scanned by CamScanner Scanned by CamScanner
Answered Same DaySep 02, 2021

Answer To: New Doc XXXXXXXXXX Scanned by CamScanner Scanned by CamScanner

Aditya answered on Sep 04 2021
156 Votes
#include
#include
using namespace std;
void deleteRepeats(char a[],int size)
// This statement is used for declaring a array with two arguments of type array and integer
{
for (int i=0;i {
for(int j=i+1;j {
if(a[i]==a[j]) // This if condition is used to check if two elements of the array are same or not that is...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here