Write a c program that prints: - Your name - Your e-mail address - Your High School - Home town - Current college - Current year in school - Your age in decinal - Your age in octal - Your age in hexadecimal on nine separate lines. Inelude a label before each piece of information you print. Treat your age as a single, stored numerice piece of data by placing it in a variable. Use conversion specifiers to produce the various bases for the one value in that variable. (See the textbook, or the Appendix to Polzin's notes for conversion specifier information.} *** Do not read any inputs, just produce the output. ** ExI Name: John Doe E-mail: jdoeenymail.com High School: Central Minnesota High Home town: Lake Wobegon, MN Current college: Normandale Community college Current year in school: High school senior Age: 17 Age in octal: 21 Age in hexadecimal: 11

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question
Notes:
Nicely format and label your output.
Gradually develop your program in steps:
- write code to print your name only
- Add additional output one line at a time
Print your age in base 10
Add additional numeric bases one at a time
- Read and follow the Programming Guidelines posted on otto.
Programming -> Programming guidelines
Transcribed Image Text:Notes: Nicely format and label your output. Gradually develop your program in steps: - write code to print your name only - Add additional output one line at a time Print your age in base 10 Add additional numeric bases one at a time - Read and follow the Programming Guidelines posted on otto. Programming -> Programming guidelines
Purpose: - Write a c program
- Generate some output with printf
Use a variable
Description:
------- --
Write a c program that prints:
- Your nаmе
- Your e-mail address
Your High School
- Home town
- Current college
- Current year in school
- Your age in decimal
- Your age in octal
- Your age in hexadecimal
on nine separate lines. Include a label before each piece
of information you print. Treat your age as a single,
stored numeric piece of data by placing it in a variable.
Use conversion specifiers to produce the various bases for
the one value in that variable.
(See the textbook, or the Appendix to Polzin's notes for
conversion specifier information.}
*** Do not read any inputs, just produce the output.
***
Ext
Name: John Doe
E-mail: jdoemymail.com
High School: Central Minnesota High
Home town: Lake Wobegon, MN
Current College: Normandale Community College
Current year in school: High school senior
Age: 17
Age in octal: 21
Age in hexadecimal: 11
Notes:
- Nicely format and label your output.
- Gradually develop your program in steps:
Write code to print your name only
Transcribed Image Text:Purpose: - Write a c program - Generate some output with printf Use a variable Description: ------- -- Write a c program that prints: - Your nаmе - Your e-mail address Your High School - Home town - Current college - Current year in school - Your age in decimal - Your age in octal - Your age in hexadecimal on nine separate lines. Include a label before each piece of information you print. Treat your age as a single, stored numeric piece of data by placing it in a variable. Use conversion specifiers to produce the various bases for the one value in that variable. (See the textbook, or the Appendix to Polzin's notes for conversion specifier information.} *** Do not read any inputs, just produce the output. *** Ext Name: John Doe E-mail: jdoemymail.com High School: Central Minnesota High Home town: Lake Wobegon, MN Current College: Normandale Community College Current year in school: High school senior Age: 17 Age in octal: 21 Age in hexadecimal: 11 Notes: - Nicely format and label your output. - Gradually develop your program in steps: Write code to print your name only
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Structure chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT