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
program that counts the number of occurrences of the string in the n-th padovan string p(n)
Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.
when you allocate memory with new[], you ought to free the memory via delete[]. While you allocate memory along 'new', then use 'delete' with no the brackets. You employ new[] to a
Question 1 Explain the concept of constructors and destructors in C++ with programming examples Question 2 Explain the concepts and applications of multiple inheritance and v
source code
Array types An array is a collection of objects of a one data type. The individual objects are accessed by their position in the array. This way of accessing is known as indexi
a) Define an Asset base class that provides the following method: class Asset { public: virtual double getValue()=0; }; This will be the base class for both stock an
What does it mean to declare a 1. member function as a virtual A: (a) C++ virtual function is member function of any class, whose functionality may be over- ridden in
Integer literal Integer is numbers without fractional parts. e.g. 20 // Decimal 024 // Octal 0x14 // Hexadecimal To indicate long, unsigned,
What are the debugging methods you employ while came across a problem? A: Debugging with tools such as: 1. DBG, GDB ,Forte, Visual Studio. 2. Using tusc to trace
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