CST Assignment 6 solution

$24.99

Original Work ?

Download Details:

  • Name: assignment6-qlfguk.zip
  • Type: zip
  • Size: 542.98 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (5 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?