Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

View History Bookmarks Tools Window Help X JHome | Quincy College Project 2C - PuppyFeeder X+ https://quincy.instructure.com/courses/8599/assignments/132328 90% Due Thursday by 12:15pm Points 10 ents

image text in transcribed
View History Bookmarks Tools Window Help X JHome | Quincy College Project 2C - PuppyFeeder X+ https://quincy.instructure.com/courses/8599/assignments/132328 90% Due Thursday by 12:15pm Points 10 ents Programming Project 2C 1. Open Visual Studio, create a new project, select CLR, CLR Console Application, name ts it PuppyFeeder, and set this project to save your flash drive in your folder called Intro To Programming 2. Using the C Beginner's Programmer's Template I handed out in class, write a program that will determine how much food is needed to feed a puppy based on its weight in pounds. Here is the algorithm (steps) to complete this project: o Include the files "stdafx.h" and and o Begin the main program lua- Declare 2 double variables: weightlnPounds, and cupsOfFood. o Use printf to print a message to the screen to ask the user to "Enter the weight of the puppy: o Use scanf to read the value entered by the user and store it in the variable weightinPounds o Calculate the amount of food needed to feed the puppy and store the value in the variable cupsOfFood. The puppy should be fed 0.05 cups per pound. o Use printf to print a message to the screen: The amount of food needed to feed the is: #### cups." o Add the command to make the system sleep for 5 seconds o Add the command to return control to the operating system 3. Fix any compiler errors you have, and run your program to see that it runs Demonstrate your program to the instructor for credit before you leave class If you need more time to complete this project: Install Visual Studio 2017 Express at home so you can work at home (see the homework "Getting Setup)

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

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions