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
Alexandra [31]
2 years ago
8

Using C, Write a program that reads a series of strings from standard input and prints only those strings beginning with the let

ter 'b'.
Computers and Technology
1 answer:
Mekhanik [1.2K]2 years ago
5 0

Explanation:

/Header file section

#include <stdio.h>

//Program begins with a main function

int main()

{

//Declare variables

char letters[100][20];

int i, num;

//Prompt and read the input from the user

printf("Enter how many series of strings are you entered:");

scanf("%d", &num);

printf("Enter %d strings:\n", num);

for (i = 0; i<num; i++)

 scanf("%s", letters[i]);

//Display those string beginning with letter 'b'

printf("\nThe strings are beginning with the letter \"b\":\n");

for (i = 0; i<num; i++)

{

 //Find start letter is 'b' by using ASCIII

 //(ASCII value of letter 'b' is 98)

 if ((int)letters[i][0] == 98)

  printf("%s\n", letters[i]);

}

return 0;

}

You might be interested in
How is primary storage different from secondary storage? Select the TWO correct statements. The CPU can only read and write data
ELEN [110]

Answer:

i don't know but you can get Socratic  it scan questions and tell answers

Explanation:

3 0
2 years ago
Read 2 more answers
It is a data being transported on a network​
sleet_krkn [62]

Answer:

The answer is <em>data packet or packet.</em> A packet is a small amount of data that is travelling, sending or receiving in the network.

6 0
3 years ago
Name the functional arms of MSDE.
fgiga [73]

Answer:

It is aided in these initiatives by its functional arms – National Skill Development Agency (NSDA), National Skill Development Corporation (NSDC), National Skill Development Fund (NSDF) and 33 Sector Skill Councils (SSCs) as well as 187 training partners registered with NSDC.

3 0
3 years ago
Why do you want to work for Rev?
raketka [301]

People do have reasons why they want to work for a particular company. It may be due to what they company stands for, what they make or about your dream.

I can therefore say that I want to work for Rev because they are revolutionizing the industry and I want to be part of the change process.

<h3>How do you answer why do you want to work?</h3>

Note that when looking for a job, job experience do matter. When ask the reason for looking for this job.

One can answer that they have the experience or the needed expertise and skills required for this job as they want to be aligned with what the company stands for.

Learn more about work  from

brainly.com/question/25573309

7 0
2 years ago
Mention five features of word processing application​
N76 [4]
Editing, saving, printing, copying and pasting
8 0
3 years ago
Other questions:
  • Question: Henry wants to change the configuration information of an application. Which file should Henry edit to change this inf
    15·1 answer
  • Helllllp: Virtual private networks require a secure remote connection.<br> True or False?
    10·2 answers
  • The user can set their own computer hostname and username. Which stage of the hardware lifecycle does this scenario belong to?
    6·1 answer
  • Write a statement that toggles the value of the bool variable onoffswitch. that is, if onoffswitch is false , its value is chang
    10·1 answer
  • The memory unit of a computer has 2M Words of 32 bits (or 4 bytes) each. The computer has an instruction format with 4 fields: a
    14·1 answer
  • Pls answer i need to turn it in today!!
    15·1 answer
  • How does Shakespeare immediately introduce Tybalt as a menacing character?
    9·1 answer
  • 1.Which one of the following buttons returns a window to its original size?
    11·1 answer
  • Write the line of Python code that calculates and prints the answer to the following arithmetic expressions.
    7·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!