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
Question: (a) (i) Explain how class members can be accessed when using objects of the class. Use a suitable example to illustrate your answer. (ii) Explain how the privat
Develop a C++ program that uses a while to determine the gross pay (in Dollars) for each of several employees. The company pays “straight-time” for the first 40 hours worked by ea
A: The inline keyword tells the compiler to substitute the code in the function de_nition for each instance of a function call. Though, substitution takes place only at the compile
Develop Online Slot Video Game for Facebook Prepare an online slot video game for a Facebook promotion in order to draw new visits and Increase the number of "likes" of the Face
Explain a class to model a banking system. The function members should allow initializing the data members, a query to facilitate for account and a facility to deposit and with
c program for padovan string Padovan series are positive integers obtained by the following process: The Padovan series is the sequence of integers P(n) defined by the
THIS PROGRAM IS TO ASK A DATE & ALSO ASK FOR DAYS TO BE ADDED TO PRODUCE #include #include struct date { int dd; int yy; int mm; }; void main() { clrscr(); in
Define a class? A: It is an expanded concept of a data structure: rather than holding only data, it can hold data and functions both.
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b
Static Class Members As we already know all the objects of the class have dissimilar data members but invoke the similar member functions. Though, there is an exception to this
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