#include<stdio.h>
int main()
{
char line[150];
int i, j;
scanf ("%[^\n]s",line);
for(i = 0; line[i] != '\0'; ++i)
{
while (!( (line[i] >= 'a' && line[i] <= 'z') || (line[i] >= 'A' && line[i] <= 'Z') || line[i] == '\0') )
{
for(j = i; line[j] != '\0'; ++j)
{
line[j] = line[j+1];
}
line[j] = '\0';
}
}
puts(line);
return 0;
}For python program visit the link given below.This blog is to help for the programmers to learn the programs and not to demotivate any people .Our intention is to make the learners to learn the code easily.
Saturday, April 27, 2019
Remove Alphabets
Subscribe to:
Post Comments (Atom)
Parity
Problem Description Ram and Sita playing the parity game. Two types of parity are there. One is odd parity and next is even parity. Ram will...
No comments:
Post a Comment