Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
#include stdio.h>
#include conio.h>
#include ctype.h>
#include string.h>
void main()
{
int i=0,j=0,length;
char a[30];
clrscr();
for(i=0;i<30;i++)
a[i]=0;
}
i=0;
printf("ENTER THE STRING: ");
do{
a[i++]=getchar();
}while(a[i-1]!='\n');
a[i]='\0';
length=strlen(a);
for(i=0;i<=length;i++)
a[i]=tolower(a[i]);
a[0]=a[0]-32;
for(i=0;a[i]!='\0';i++)
if(a[i]==' ')
a[i+1]=a[i+1]-32;
printf("THE OUTPUT OF STRING IS %s",a);
getch();
OUTPUT :
ENTER THE STRING: KAMLESH D MENGAR
THE OUTPUT OF STRING IS Kamlesh D Mengar
how do you declare an integer variable
Ask question #Minimum 100 words awhat is the pre condition for binary searching ccepted#
A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci
Temperature Conversions. Problems 28 through30generate temperature-conversion tables. Use the following equations that give relationships between temperatures in degrees Fahrenheit
Your task is to create a programming system for a ferry. The ferry transports passengers and vehicles (cars, busses, lorries and bicycles). The ferry has space for 200 passengers a
Available, and the right kind of programs. My son wants to stop using ice. He has organised detox a number of times, and is always successful. It is the next stage, rehab, where
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes
Question 1. Explain Briefly about class and objects. 2. Create a class string which stores a string value. Overload ++ operator which converts the characters of the string t
C Program to FIND VOWELS void main() { char str[50]; int ac=0, ec=0, ic=0, oc=0, uc=0; int i,stln,vc,word=1; clrscr
Based on the automobile's model year and weight, the city of Cebu determines the car's weight class and registration fee using the following schedule: Model Year Registration
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd