Computer Science, asked by Anonymous, 1 year ago

write a program to accept a word and convert it into lowercase if it is in uppercase and display the new word by replacing only the mobile with the character following it


chidu07: c++ program??
chidu07: mobile???

Answers

Answered by chidu07
0

#include<iostream.h>

#include<conio.h>

#include<string.h>

#include<ctype.h>

void main()

{

char ch[20]

cout<<"Enter the Word":

gets(ch);

for(int i=0;ch(i)!='\0';i++)

{

if(isupper(ch)==0)

ch[i]=tolower(ch)

}

cout<<"New Word:";

puts(ch);

getch();

}

Similar questions