Yep! had to tweak couple things but u r right, pretty obvious! needed a good laugh, i did! Now all of a sudden the numbers are different. Not sure what's up with that, but it looks good now except ...
Type: Posts; User: Buddha
Yep! had to tweak couple things but u r right, pretty obvious! needed a good laugh, i did! Now all of a sudden the numbers are different. Not sure what's up with that, but it looks good now except ...
I am to to write a program that generates a number from 1-9 & allow the user to guess the number. I have two questions. 1) Why am I getting the same number every game? 2) Why when the guess isnt...
yep! that did it. Thanks!
Looking for for some help. Been asked to write a C program that declares 3 one dimensional arrays named price,quantity, & amount. Each array holds 10 elements. Have to use a For Loop, input values...
its not the same, but close.
This is what I have:
#include <stdio.h>
int main()
{
float owe, paid, change;
int dollars, quarters, dimes, nickels, pennies;
printf("How much does the customer owe? ");
I've been assigned to run a program to calculate change. I have to display how many dollars, quarters, dimes, etc are to be returned to the customer. I am leaving out half of the problem, but I'm...