The executed program and the code of the program.

computer science

Description

Submit a screenshot of the executed program and the code of the program.

Writing C Program(s) Using Variables, Declaration Statements & Basic C Data Types
int main()
{
   float cup,ounce,pint,tablespoon,teaspoon;
   printf("Enter the number of cups : ");
   scanf("%f",&cup);
   ounce=8*cup;
   tablespoon=16*cup;
   teaspoon=48*cup;
   pint=cup/2;
   printf("Volume of %g cup in pint is  :      %gn",cup,pint);
   printf("Volume of %g cup in ounce is :      %gn",cup,ounce);
   printf("Volume of %g cup in tablespoon is:  %gn",cup,tablespoon);
   printf("Volume of %g cup in teaspoon is  :  %gn",cup,teaspoon);
   return 0;

 I cannot get it to run on Microsoft Visual Studio Express. I need it to show the same as last week. 

Complete and submit Programming Exercise #8 listed on Page 97 of your textbook.  Use of C compiler and submission of compiled version of your C program is required to receive credits.

Submit a screenshot of the executed program and the code of the program.

Submit a screenshot of the executed program and the code of the program.

#include<stdio.h>


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.