1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kramer
3 years ago
11

Write a program which capitalize every character after full stopin a given sentence

Computers and Technology
1 answer:
8090 [49]3 years ago
4 0

Answer:

#include <bits/stdc++.h>//header file which includes most of the libraries..

using namespace std;

int main() {

   char st[500];//character array of length 500..

   cin.getline(st,499);//taking input of the text.

   for(int i=0;st[i];i++)

   {

       if((st[i]=='.')&& (i!=strlen(st)-1))//condition

       {

          st[i+1]= toupper(st[i+1]);//converting to upper case.

       }

   }

   cout<<st<<endl;//printing the string..

return 0;

}

Input:

i am .the .great .gambler.i am going gamble everything

Output:

i am .The .Great .Gambler.I am going gamble everything

Explanation:

I have taken a character array of size 500.

Taking input as a line.

If full stop encounters then converting the character to uppercase if it exists.

Printing the output.

You might be interested in
Type the correct answer in the box. Spell all words correctly.
tiny-mole [99]

Answer:

Modern CPUs contain multiple cores.  Think of it as multiple smaller CPU's on the single CPU chip.  The multiple cores can handle different processes in parallel allowing for multiple programs to be running at the same time.  This is not considered true multi-processing since the architecture still has a single I/O bus and can be subject to a single point of failure.  But the operating system will take advantage of the additional cores as if they were multiple physical CPU's - enhancing performance and productivity.

Explanation:

7 0
3 years ago
Which are examples of email client programs?<br> hand<br> are examples of email client programs.
goblinko [34]

Answer:

Please check the attachment,

Explanation:

Please check the attachment.

Download txt
4 0
3 years ago
Unlike bar codes and other systems, _____ devices do not have to be in contact with the scanner to be read.
UNO [17]

Answer:

radio frequency identification

Explanation:

7 0
3 years ago
If the starting address location changes, in which of the following cases, the program has to be recompiled? Select one: a. Both
VashaNatasha [74]

Answer:

c. Compile time binding

Explanation:

Compile Time Binding is a term in computer programming that describes the interpretation of logical addresses to physical addresses at the time of compilation.

Therefore, given that in the compile time binding, compiler code is generated at the start of the location, and moves afterward, thus, if at any point the starting address location changes, then it will be essential to recompile the code.

4 0
3 years ago
How can a wiki contribute to an academic paper?
kkurt [141]
If you use wiki for references, it could be useful
5 0
3 years ago
Read 2 more answers
Other questions:
  • What are three reasons teens might start drinking alcohol??
    7·2 answers
  • If the derived class does not override a public member function of the base class, you may specify a call to that public member
    7·1 answer
  • The status bar only lets you view the current X, Y and Z coordinates of the cursor. Select one: True False
    8·2 answers
  • You can include up to _____ logical conditions in the and function. (487181)
    12·1 answer
  • Create a method remove Evens that removes all even elements from an ArrayList of
    7·1 answer
  • The sun is a type of what?
    9·1 answer
  • C++ Proagram
    7·1 answer
  • What is it called when a additional document is added to an email
    13·2 answers
  • Identify the symbol. please help!!<br>​
    7·2 answers
  • What type of hard drive has no moving parts making it fast and durable
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!