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
Mrrafil [7]
3 years ago
14

Write a C Program to Print the initial letter of Name Ferdous

Computers and Technology
1 answer:
Murrr4er [49]3 years ago
5 0

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The question is about writing a C program that prints the initial letter of Name Ferdous.

Therefore, below is the given complete code that prints the first letter of the name Ferdous.

<em>#include <stdio.h> </em><em>/*import strandard input/output library*/</em>

<em>#include<string.h></em><em> /*import string library to handle string type of data*/</em>

<em> </em>

<em>int main(void) </em><em> /*started the program execution- program entry point*/</em>

<em>{ </em>

<em>char *str = "Firdous";</em><em>   /*char to pointer str contains string "Firdous"*/</em>

<em>int len = strlen(str);  </em><em> /*this line of code is not neccary, but if you print other character for example last character of the name then you can use it*/</em>

<em>printf("First Letter of the name is: %c", str[0]); </em><em>  /*print first letter of the name*/</em>

<em>} </em><em>  /**program terminated*/</em>

You might be interested in
What are some options available in the Spelling and Grammar Checker? Check all that apply
IceJOKER [234]

This question is incomplete because it lacks the appropriate options

Complete Question

What are some options available in the Spelling and Grammar Checker?

Check all that apply.

a) Change and Change All

b) Redo and Repeat

c) Ignore Once and Ignore All

d) Add to Dictionary

e) AutoFormat

f) Font

g) AutoCorrect

h) Undo

Answer:

a) Change and Change All

c) Ignore Once and Ignore All

d) Add to Dictionary

g) AutoCorrect

Explanation:

Spelling and grammar check is an option under the REVIEW Menu in Microsoft Word.

Spelling and grammar checker is used to check for errors in spelling and grammar found in a Microsoft Word document.

Some options available in Spelling and grammar checker are:

• Change and Change All

• Ignore Once and Ignore All

• Add to Dictionary

• AutoCorrect

4 0
3 years ago
Read 2 more answers
How to connect to my wireless printer for dummies?
Arte-miy333 [17]
It depends on the printers brand as there are a broad range of wireless printers offering all sorts of connections.

Generally speaking, you would want the printer to connect to the network (LAN) this could be done on the printer. Refer to the printer's manual. I think you can also connect it via the computer. Just find it on the computer on 'find printer' in your computers settings. Specify the printers name in order to this.
8 0
4 years ago
Plz help asapppll !!!!!!!
Zepler [3.9K]

Answer:

couldnt tell yah sorry

Explanation:

8 0
3 years ago
Which shape would the code circle (100, steps=4) draw?
ozzi

Square shape have the code circle (100, steps=4) draw.

A. square

<u>Explanation:</u>

This circle function code is done in Python. The circle function is available in turtle module. In python  turtle module is used  for graphics. We have to import turtle module in IDLE and call the function Turtle() to open the turtle graphics screen.

Then we can call the function circle() which takes 100 as radius and step size as parameter into the function and  resulting in drawing a square of 100 radius. The square is drawn tilted due to the movement of the turtle(the arrow head).

5 0
4 years ago
simplify the expression below and state the value of m for which the simplified expression is not defined 2m² + m - 15/ m² - 9​
motikmotik

Answer:

  • The simplified expression is: \frac{2m-5}{m-3}
  • The simplified expression is undefined for m=3

Explanation:

The given expression is:

\frac{2m^2+m-15}{m^2-9}

The numerator can be siplified by using factorization and denominator will be simplified using the formula

a^2-b^2 = (a+b)(a-b)

So,

= \frac{2m^2+6m-5m-15}{(m)^2-(3)^2}\\=\frac{2m(m+3)-5(m+3)}{(m-3)(m+3)}\\=\frac{(2m-5)(m+3)}{(m-3)(m+3)}\\=\frac{2m-5}{m-3}

A fraction is undefined when the denominator is zero. In order to find the value of m on which the simplified fraction will be undefined we will put denominator equal to zero.

So,

m-3 = 0 => m = 3

Hence,

  • The simplified expression is: \frac{2m-5}{m-3}
  • The simplified expression is undefined for m=3
7 0
3 years ago
Other questions:
  • _______a file transfers a copy of the file from the storage media into your computer's memory?
    9·2 answers
  • What is UTF-8 and why was it created?
    8·1 answer
  • You share a number of files from your computer, and you've received a number of calls from users who say they can't connect to t
    5·1 answer
  • Annalise received financial aid offers from two universities. Financial Analysis for Option A Costs per Year Financial Aid Packa
    8·2 answers
  • _____ are the most fundamental components of designing a training program that determine the amount of stress placed on the body
    6·1 answer
  • Love me love me say that u love me fool me fool me go on and fool me : ) answer the question thx
    6·2 answers
  • WHAT ARE THE RISK OF DUST​
    15·1 answer
  • Which of the following is a method to create a new table in Access?
    12·1 answer
  • 2. The<br>is the main and usually largest data storage hardware device in a computer​
    9·1 answer
  • Can someone explain to me the process of inserting fonts into pdf, please? Also, related to this topic, metadata about a font th
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!