thx for reading first, i got some problems with my assignment,
this is the requirements of my assignment:
The program calculates and displays the largest and average of a group of input numbers.
The program should accept the input of a group of numbers, one at a time, each can be up to 2 digits, ended with a 0, and find and display the largest and the average of all valid input numbers (excludi
I have a simple C console program that takes some keyboard input and outputs prompts and calculations. I also have two text files: a file with input for the program, and a file that contains the output the program should give.
I'm trying to write in c++ a program that runs by writing to the command line "Program [ -i (input file name) ] [ -o (output file name)] that will work at linux os (I use windows to write but it must work on linux) with the following options:
the –i, -o flags are optional. If the –i flag is not present the input will be form the standard input (cin).
Trilby wrote:Gcc compiles C into "plain old assembly", so why would you want to program in C? Cut out the middle man, and write in assembly.Assembly is assembled into plain old binary machine code, so why would you want to program in assembly?Binary machine code is translated at runtime by the processor into high and low voltage states on a series of registers and output lines.