Team Emertxe
Strings and Storage
Classes
Assignment 1
Assignment 1
Assignment 1
WAP to replace each string of one or more blanks by a
single blank
Assignment 1
WAP to replace each string of one or more blanks by a
single blank
Input:
Assignment 1
WAP to replace each string of one or more blanks by a
single blank
Input: String with multi-spaces between words
Assignment 1
WAP to replace each string of one or more blanks by a
single blank
Input: String with multi-spaces between words
Output:
Assignment 1
WAP to replace each string of one or more blanks by a
single blank
Input: String with multi-spaces between words
Output: Print each string after replacing one or more
blanks by a single blank.
Assignment 1
Example’s:
Assignment 1
Example’s:
⮚Input: Welcome to Emertxe
Output: Welcome to Emertxe
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
If space or tab is encountered
check the next character, if the
next character is also a space,
then swap all the elements one
step back
Assignment 1
Example’s:
W e l c o m e t o e m e r t x e 0
⮚Input: Welcome to Emertxe
Assignment 1
Sample execution:-
Assignment 1
Sample execution:-
Assignment 1
Sample execution:-
Assignment 1
Pre-requisites:-
Assignment 1
Pre-requisites:-
⮚Functions
Assignment 1
Pre-requisites:-
⮚Functions
⮚Pointers
Assignment 1
Pre-requisites:-
⮚Functions
⮚Pointers
Objective:-
Assignment 1
Pre-requisites:-
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Functions
Assignment 1
Pre-requisites:-
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Functions
⮚Arrays
Assignment 1
Pre-requisites:-
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Functions
⮚Arrays
⮚Pointers
Team Emertxe
Thank you

01_Removeblanks.pdf