Sale!

CST Training Assignment 6 solved

Original price was: $35.00.Current price is: $30.00.

Download Details:

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

Category:

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?