Initial commit with cleaned history
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// Averages three (hardcoded) numbers
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
// Scores
|
||||
int score1 = 72;
|
||||
int score2 = 73;
|
||||
int score3 = 33;
|
||||
|
||||
// Print average
|
||||
printf("Average: %f\n", (score1 + score2 + score3) / 3.0);
|
||||
}
|
||||
Reference in New Issue
Block a user