Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write an algorithm to get a sentence and reverse it in the
following format:
input : I am here
opuput: Here Am I
note: first letter of every word is capiatlised

Answer Posted / debasis patnaik

ALGO:1.TAKE A STRING STR1
2.REVERSE IT BY STRREV(STR1)
3.CONCANICATE WITH SPACEBY STRCAT(" ",STR1)AND ASSIGN TO STR2
4.IF(STR2[I]==" ")
{
(ISUPPER(STR2[I+1])))
PRINT(STR(2)
5.END

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the standard predefined macros?

1071


What is optimization in c?

948


Why does everyone say not to use scanf? What should I use instead?

1367


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1646


What are identifiers and keywords in c?

1033


Explain the difference between ++u and u++?

1067


How can a number be converted to a string?

1241


What are data types in c language?

1012


What are the advantages of union?

1023


What are the benefits of c language?

1109


What is an arrays?

1028


which is an algorithm for sorting in a growing Lexicographic order

1747


What is the process to generate random numbers in c programming language?

1098


What does d mean?

1018


write a program to create a sparse matrix using dynamic memory allocation.

4838