Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

pls provide code in basic C, not C++ or C# sDashboard x-. D CS 1313 010 Spring 201 / D proj2@df % ONE 111 GDAX

image text in transcribed

pls provide code in basic C, not C++ or C#

sDashboard x-. D CS 1313 010 Spring 201 / D proj2@df % ONE 111 GDAX . Binance.com S Sixpack Shortcuts-1, DPHYS NOTES y Twitter 1/13 I. PROBLEM DESCRIPTION You are a software developer for the United States Census Bureau, working on software for the 2020 Census. The particular program that you're developing will ask three questions about a census subject: 1. the average number of hours that the subject spends with friends per week 2. the average number of web videos that the subject watches per day: 3. the subject's Social Security Number Notice that the average number of hours that the subject spends with friends per week MIGHT NOT BE AN INTEGER; for example, a person might average 13.25 hours spent with friends per week. Likewise, the person might average 8.5 web videos watched per day. Note that a number that doesn't have to be an integer is known in mathematics as a real number and is also known in computing as a floating point number On the other hand, notice that a person's Social Security Number can be expressed as three integer (the area number, the group number and the serial number).1 separated by hyphens for example: 123-45-6789 will have a user input two real quantities (average number of hours spent with So, this program friends per week, average number of web videos watched per day). and three integer quantities (the parts of the Social Security Number). Write a program to perform the above task. Note that your program MUST begin with a declaration section in which you declare all necessary variables. This will be followed by the execution section (body), which will: 1. greet the user and explain what the program does, and then 2. prompt the user and input the five quantities, and thern 3. output the five quantities Details follow. Please read all of this specification CAREFULLY Remember, every word Dr. Neeman writes down is PURE GOLD 6 7 8 9 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

1. What are the pros and cons of diversity for an organisation?

Answered: 1 week ago

Question

1. Explain the concept of diversity and equality in the workplace.

Answered: 1 week ago