c program to find average of 3 numbers
#include <stdio.h>
int main(void)
{
// these numbers can be whatever you want
int number = 1231231;
int number2 = 1231232;
int number3 = 1;
// add up all the numbers you want to average, then divide it by the total amount of numbers. In this case there are 3 numbers, so you divide it by three.
int average = number + number2 + number3 / 3;
// prints the average
printf("%i", average);
}#inlcude <stdio.h>
void()
{
printf("Hi")
}
Also in C:
- run a command in cmd with c
- multiplicacion recursiva
- Mosquitto MQTT client arguments
- 233 pounds to inr
- types of bastion minecraft
- bella ciao lyrics
- fread
- C %d
- pointer basics
- open url from dev cpp
- fopen c
- check if string starts with c
- counter program in c language
- mariadb unknown collation: 'utf8mb4_0900_ai_ci'
- cannot update windows 10
- clear local changes in git
- sum of arrays
- scanf read line
- method abstraction
- boolean c
- sdl audio
- linux kernel write()
- c print long
- array addition and multiplication in c