CST training assignment 6 solved

$30.00

Category: Tags: , , , You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (2 votes)

Question-1
Given two strings A and B, the task is to print all the non-repeating words out of the two given sentences.
input: A = “I have a blue pen”, B = “I got a red pen”
Output: have blue got red
Explanation:
The words have, blue, got and red have not been repeated in either the same sentence or another
sentence.
Question-2
Write a program to print duplicate characters from a string?