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 a c program for print your name .but,your name may be small
letter mean print a capital letter or your name may be capital
letter mean print a small letter .example
\\enter ur name :
sankar
The name is: SANKAR
(or)
enter your name:SAnkar
The name is:saNKAR

Answer Posted / ganesh

char s[15];int n,i;
scanf("%s",s,printf("give a name:"));
for(i=0;i<strlen(s);i++)
{
if(s[i]==tolower(s[i]))
putchar(toupper(s[i]));
else
putchar(tolower(s[i]));
}

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1673


How many types of operator or there in c?

1023


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1200


What is calloc malloc realloc in c?

1011


Is main is user defined function?

1071


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1079


What is a ternary operator in c?

1058


Explain what are multibyte characters?

1111


Is exit(status) truly equivalent to returning the same status from main?

1008


What is the process of writing the null pointer?

980


What are the different types of data structures in c?

1112


What are the types of assignment statements?

1006


How many levels of pointers have?

988


Write a program to check palindrome number in c programming?

963


What are file streams?

965