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
ludmilkaskok [199]
3 years ago
12

Write a c++ program that prints the intial letter of any name​

Computers and Technology
1 answer:
Shalnov [3]3 years ago
6 0

Answer:

#include<iostream>

using namespace std;

int main(){

char str[20];

int i=0;

std::cout<<"Enter a name:" ;

cin>>str;

cout<<*str;

while(str[i]!='\0'){

if(str[i]==' '){

i++;

cin>>*(str+i);

}

i++;

}

return 0;

}

You might be interested in
You respond to an "unknown medical problem" in an area commonly populated by Hispanic Americans. You arrive to find several indi
Gennadij [26K]

Answer:

I will make use of the translater. The Google translater is easily available through the smartphone, and I will make use of that. I will say hey Google to my Android phone, or use Siri on Apple phone, and ask the patient to speak in Spanish on the smartphone, and then ask the Google Assistant or Siri, to translate the message for me into English. Thus, I will come to know what he is speaking, and probably make an assumption about his health condition. Thus, the issue of the language barrier is no more an obstacle, and we can understand what a person is speaking, and no matter whatever his/her language is.

Explanation:

Please check the answer section.

8 0
4 years ago
Can you block someone on Brainly?
dexar [7]
Yes, you can! If they are bothering you I would recommend you report them first. Check out this Brainly article https://brainly.in/question/1233133 :-)
8 0
3 years ago
Read 2 more answers
Help me pleaseeee!!!!!
belka [17]

Answer:

15 unit square

Explanation:

7 0
3 years ago
Read 2 more answers
You just installed a new application but users cannot connect to the application remotely. Which feature should be checked to en
qwelly [4]

Answer:

Allow an app or feature through windows firewall

Explanation:

This one had me thinking for a second. But i believe this is the correct answer. Don't quote me though lol. First you must know what a feature is, this is the section on the left hand side when you are inside of this step for the lab. It is the first thing listed from withing this function. Hope this helps!!!

4 0
3 years ago
ASAP PLEASE
notka56 [123]
1st blank:task
2nd blank:transparency
6 0
3 years ago
Read 2 more answers
Other questions:
  • I don't understand question how do I work it out?
    7·2 answers
  • What is returned by datetime(1970, 1, 1).strftime('%Y-%d-%B') in Python?
    10·1 answer
  • Which business document is usually written in block style with the body tedt aligned along its left margin?
    9·1 answer
  • What describes an agreement between two or more parties and demonstrates a "convergence of will" between the parties so that the
    10·1 answer
  • Why did the chicken cross the playground
    7·2 answers
  • is there anybody out there who is a social butterfly like me? If so then you can tlk to me on this. and to anybody out there tha
    12·1 answer
  • What is the difference between a switch and a hub?
    8·1 answer
  • The software maintains and manages information related to employees, rooms, committees, and committee meetings of a company. The
    9·1 answer
  • Anything a person writes or creates is __________
    6·2 answers
  • Please help me to creat flow chart​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!