Dear Sir,
when writing this to get average of two numbers,
#include<stdio.h>
void main(){
int a,b
int average=0;
scanf("%d,%d",&a,&b)
printf("%d",average)
return 0;
}
its showing an error i.e.,
Programtest.c: In function main: test.c:6:5: error: expected ; before printf printf("%d",average) ^~~~~~
Would you please assist.