SlideShare a Scribd company logo
1 of 2
An important component to understanding the C programming
language is having a proper understanding of the formatting of
the input and output streams. Input operations involve data that
flows from the input device such as a keyboard or hard drive to
the main memory. Output operations involve data that flows
from main memory out to a device such as the screen, a printer,
or the hard drive. How you want your output displayed or
formatted on the screen depends on the conversion specifiers
you use in your program.
Consider the following four programs:
Program A
Program B
Program C
Program D
Select one of the four programs above, type the code into Visual
Studio, and run it. Explain why the output is being formatted
the way it is. Now adjust the code so that the output displays
differently and explain what you changed in the code to make it
look different. Make sure to upload your revised code into the
discussion.
An important component to understanding the C programming langua

More Related Content

More from MadonnaJacobsenfp

Sociology class. Must be 300 words must cite work.After watching.docx
Sociology class. Must be 300 words must cite work.After watching.docxSociology class. Must be 300 words must cite work.After watching.docx
Sociology class. Must be 300 words must cite work.After watching.docxMadonnaJacobsenfp
 
Sociology class. Must be 200 words must cite work if applicable..docx
Sociology class. Must be 200 words must cite work if applicable..docxSociology class. Must be 200 words must cite work if applicable..docx
Sociology class. Must be 200 words must cite work if applicable..docxMadonnaJacobsenfp
 
Sociology class. Must be 150 words must cite work.Reflect and di.docx
Sociology class. Must be 150 words must cite work.Reflect and di.docxSociology class. Must be 150 words must cite work.Reflect and di.docx
Sociology class. Must be 150 words must cite work.Reflect and di.docxMadonnaJacobsenfp
 
Sociology class. Must be 250 words must cite work.Think of a soc.docx
Sociology class. Must be 250 words must cite work.Think of a soc.docxSociology class. Must be 250 words must cite work.Think of a soc.docx
Sociology class. Must be 250 words must cite work.Think of a soc.docxMadonnaJacobsenfp
 
Some historians call the 20th century the American Century, which is.docx
Some historians call the 20th century the American Century, which is.docxSome historians call the 20th century the American Century, which is.docx
Some historians call the 20th century the American Century, which is.docxMadonnaJacobsenfp
 
Sociology came into existence in the 19th century to explain the eno.docx
Sociology came into existence in the 19th century to explain the eno.docxSociology came into existence in the 19th century to explain the eno.docx
Sociology came into existence in the 19th century to explain the eno.docxMadonnaJacobsenfp
 
SocializationTo begin the process of socialization, having a cle.docx
SocializationTo begin the process of socialization, having a cle.docxSocializationTo begin the process of socialization, having a cle.docx
SocializationTo begin the process of socialization, having a cle.docxMadonnaJacobsenfp
 
Soicaology class, must be 300 words and must site work.For each .docx
Soicaology class, must be 300 words and must site work.For each .docxSoicaology class, must be 300 words and must site work.For each .docx
Soicaology class, must be 300 words and must site work.For each .docxMadonnaJacobsenfp
 
Sociology of Developing Countries class. Must be 250 words must cite.docx
Sociology of Developing Countries class. Must be 250 words must cite.docxSociology of Developing Countries class. Must be 250 words must cite.docx
Sociology of Developing Countries class. Must be 250 words must cite.docxMadonnaJacobsenfp
 
Social Structure MatrixComplete both parts of this worksheet..docx
Social Structure MatrixComplete both parts of this worksheet..docxSocial Structure MatrixComplete both parts of this worksheet..docx
Social Structure MatrixComplete both parts of this worksheet..docxMadonnaJacobsenfp
 
Social Security Paper (2–3 pages)Research the development and admi.docx
Social Security Paper (2–3 pages)Research the development and admi.docxSocial Security Paper (2–3 pages)Research the development and admi.docx
Social Security Paper (2–3 pages)Research the development and admi.docxMadonnaJacobsenfp
 
Society and ChildrenOur society is diverse and has been described .docx
Society and ChildrenOur society is diverse and has been described .docxSociety and ChildrenOur society is diverse and has been described .docx
Society and ChildrenOur society is diverse and has been described .docxMadonnaJacobsenfp
 
Social Responsibility DebateStudent has been assigned their po.docx
Social Responsibility DebateStudent has been assigned their po.docxSocial Responsibility DebateStudent has been assigned their po.docx
Social Responsibility DebateStudent has been assigned their po.docxMadonnaJacobsenfp
 
Social research Methods IIModule 5 Learning ObjectivesUndersta.docx
Social research Methods IIModule 5 Learning ObjectivesUndersta.docxSocial research Methods IIModule 5 Learning ObjectivesUndersta.docx
Social research Methods IIModule 5 Learning ObjectivesUndersta.docxMadonnaJacobsenfp
 
Social psychologist Philip Zimbardo (1974; Haney, Banks, & Zimbard.docx
Social psychologist Philip Zimbardo (1974; Haney, Banks, & Zimbard.docxSocial psychologist Philip Zimbardo (1974; Haney, Banks, & Zimbard.docx
Social psychologist Philip Zimbardo (1974; Haney, Banks, & Zimbard.docxMadonnaJacobsenfp
 
Social Media PaperDueDec 12, 1159 PMNot SubmittedPOINTS.docx
Social Media PaperDueDec 12, 1159 PMNot SubmittedPOINTS.docxSocial Media PaperDueDec 12, 1159 PMNot SubmittedPOINTS.docx
Social Media PaperDueDec 12, 1159 PMNot SubmittedPOINTS.docxMadonnaJacobsenfp
 
Social Media PaperDue  May 16, 1159 PMNot SubmittedPOINTS .docx
Social Media PaperDue  May 16, 1159 PMNot SubmittedPOINTS .docxSocial Media PaperDue  May 16, 1159 PMNot SubmittedPOINTS .docx
Social Media PaperDue  May 16, 1159 PMNot SubmittedPOINTS .docxMadonnaJacobsenfp
 
Social Media Platforms and Your CareerDue  May 16, 1159 PMNot.docx
Social Media Platforms and Your CareerDue  May 16, 1159 PMNot.docxSocial Media Platforms and Your CareerDue  May 16, 1159 PMNot.docx
Social Media Platforms and Your CareerDue  May 16, 1159 PMNot.docxMadonnaJacobsenfp
 
Social Inequality in World ContextIntroduction to Anthropology.docx
Social Inequality in World ContextIntroduction to Anthropology.docxSocial Inequality in World ContextIntroduction to Anthropology.docx
Social Inequality in World ContextIntroduction to Anthropology.docxMadonnaJacobsenfp
 
Social Media and Identity JournalFor this assignment, you will be .docx
Social Media and Identity JournalFor this assignment, you will be .docxSocial Media and Identity JournalFor this assignment, you will be .docx
Social Media and Identity JournalFor this assignment, you will be .docxMadonnaJacobsenfp
 

More from MadonnaJacobsenfp (20)

Sociology class. Must be 300 words must cite work.After watching.docx
Sociology class. Must be 300 words must cite work.After watching.docxSociology class. Must be 300 words must cite work.After watching.docx
Sociology class. Must be 300 words must cite work.After watching.docx
 
Sociology class. Must be 200 words must cite work if applicable..docx
Sociology class. Must be 200 words must cite work if applicable..docxSociology class. Must be 200 words must cite work if applicable..docx
Sociology class. Must be 200 words must cite work if applicable..docx
 
Sociology class. Must be 150 words must cite work.Reflect and di.docx
Sociology class. Must be 150 words must cite work.Reflect and di.docxSociology class. Must be 150 words must cite work.Reflect and di.docx
Sociology class. Must be 150 words must cite work.Reflect and di.docx
 
Sociology class. Must be 250 words must cite work.Think of a soc.docx
Sociology class. Must be 250 words must cite work.Think of a soc.docxSociology class. Must be 250 words must cite work.Think of a soc.docx
Sociology class. Must be 250 words must cite work.Think of a soc.docx
 
Some historians call the 20th century the American Century, which is.docx
Some historians call the 20th century the American Century, which is.docxSome historians call the 20th century the American Century, which is.docx
Some historians call the 20th century the American Century, which is.docx
 
Sociology came into existence in the 19th century to explain the eno.docx
Sociology came into existence in the 19th century to explain the eno.docxSociology came into existence in the 19th century to explain the eno.docx
Sociology came into existence in the 19th century to explain the eno.docx
 
SocializationTo begin the process of socialization, having a cle.docx
SocializationTo begin the process of socialization, having a cle.docxSocializationTo begin the process of socialization, having a cle.docx
SocializationTo begin the process of socialization, having a cle.docx
 
Soicaology class, must be 300 words and must site work.For each .docx
Soicaology class, must be 300 words and must site work.For each .docxSoicaology class, must be 300 words and must site work.For each .docx
Soicaology class, must be 300 words and must site work.For each .docx
 
Sociology of Developing Countries class. Must be 250 words must cite.docx
Sociology of Developing Countries class. Must be 250 words must cite.docxSociology of Developing Countries class. Must be 250 words must cite.docx
Sociology of Developing Countries class. Must be 250 words must cite.docx
 
Social Structure MatrixComplete both parts of this worksheet..docx
Social Structure MatrixComplete both parts of this worksheet..docxSocial Structure MatrixComplete both parts of this worksheet..docx
Social Structure MatrixComplete both parts of this worksheet..docx
 
Social Security Paper (2–3 pages)Research the development and admi.docx
Social Security Paper (2–3 pages)Research the development and admi.docxSocial Security Paper (2–3 pages)Research the development and admi.docx
Social Security Paper (2–3 pages)Research the development and admi.docx
 
Society and ChildrenOur society is diverse and has been described .docx
Society and ChildrenOur society is diverse and has been described .docxSociety and ChildrenOur society is diverse and has been described .docx
Society and ChildrenOur society is diverse and has been described .docx
 
Social Responsibility DebateStudent has been assigned their po.docx
Social Responsibility DebateStudent has been assigned their po.docxSocial Responsibility DebateStudent has been assigned their po.docx
Social Responsibility DebateStudent has been assigned their po.docx
 
Social research Methods IIModule 5 Learning ObjectivesUndersta.docx
Social research Methods IIModule 5 Learning ObjectivesUndersta.docxSocial research Methods IIModule 5 Learning ObjectivesUndersta.docx
Social research Methods IIModule 5 Learning ObjectivesUndersta.docx
 
Social psychologist Philip Zimbardo (1974; Haney, Banks, & Zimbard.docx
Social psychologist Philip Zimbardo (1974; Haney, Banks, & Zimbard.docxSocial psychologist Philip Zimbardo (1974; Haney, Banks, & Zimbard.docx
Social psychologist Philip Zimbardo (1974; Haney, Banks, & Zimbard.docx
 
Social Media PaperDueDec 12, 1159 PMNot SubmittedPOINTS.docx
Social Media PaperDueDec 12, 1159 PMNot SubmittedPOINTS.docxSocial Media PaperDueDec 12, 1159 PMNot SubmittedPOINTS.docx
Social Media PaperDueDec 12, 1159 PMNot SubmittedPOINTS.docx
 
Social Media PaperDue  May 16, 1159 PMNot SubmittedPOINTS .docx
Social Media PaperDue  May 16, 1159 PMNot SubmittedPOINTS .docxSocial Media PaperDue  May 16, 1159 PMNot SubmittedPOINTS .docx
Social Media PaperDue  May 16, 1159 PMNot SubmittedPOINTS .docx
 
Social Media Platforms and Your CareerDue  May 16, 1159 PMNot.docx
Social Media Platforms and Your CareerDue  May 16, 1159 PMNot.docxSocial Media Platforms and Your CareerDue  May 16, 1159 PMNot.docx
Social Media Platforms and Your CareerDue  May 16, 1159 PMNot.docx
 
Social Inequality in World ContextIntroduction to Anthropology.docx
Social Inequality in World ContextIntroduction to Anthropology.docxSocial Inequality in World ContextIntroduction to Anthropology.docx
Social Inequality in World ContextIntroduction to Anthropology.docx
 
Social Media and Identity JournalFor this assignment, you will be .docx
Social Media and Identity JournalFor this assignment, you will be .docxSocial Media and Identity JournalFor this assignment, you will be .docx
Social Media and Identity JournalFor this assignment, you will be .docx
 

An important component to understanding the C programming langua

  • 1. An important component to understanding the C programming language is having a proper understanding of the formatting of the input and output streams. Input operations involve data that flows from the input device such as a keyboard or hard drive to the main memory. Output operations involve data that flows from main memory out to a device such as the screen, a printer, or the hard drive. How you want your output displayed or formatted on the screen depends on the conversion specifiers you use in your program. Consider the following four programs: Program A Program B Program C Program D Select one of the four programs above, type the code into Visual Studio, and run it. Explain why the output is being formatted the way it is. Now adjust the code so that the output displays differently and explain what you changed in the code to make it look different. Make sure to upload your revised code into the discussion.