Logo 
Search:

C Programming Answers

Ask Question   UnAnswered
Home » Forum » C Programming       RSS Feeds
  Question Asked By: Brandon Walston   on Aug 30 In C Programming Category.

  
Question Answered By: Brandon Walston   on Aug 30

I have this so far in my program.

#include <stdio.h>
void main ()
{
// Local data ...
int pennies; // input: count of pennies
int nickels; // input: count of nickels
int dimes; // input: count of dimes
int quarters; // input: count of quarters
// Read in the count of quarters, dimes, nickels and pennies.
printf("Enter the number of quarters, dimes,
nickels, and pennies: ");
scanf("%d %d %d %d", &quarters, &dimes, &nickels, &pennies);

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on C Programmin Help - coin value Or get search suggestion and latest updates.


Tagged: