No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello All, I am writing a program to act as a cash register. I reads in from a file that looks like this: A Cheeseburger 2.97 B Soda 1.90 C Sundae 3.50 ...and so on..... The point is for the user to enter a single letter and then the item … |
|
Hello all, I am attempting to write a program that will read in, from a file, an unknown number of 4 digit integers into an array (not more than 150 numbers). From there I will be performing various calculations on those numbers. Listed below is what I have for reading … |
|
Hello, I have generated a group of random numbers but I can not figure out how to display the numbers in groups of 4. Any suggestions? [CODE]srand ((unsigned int) time(NULL)); int i, high, low, number; high = 47; low = 19; for (i=0; i<20; i++) { number = rand() % … |
|
Hello All, Here are the instructions for the program I am trying to write: > Write a program that determines which 2, 3, and 4 digit #'s are equal to the sum of the cubes of their digits. > Ex. > if the original # is 234, determine if (2 … |