hey please help me execute the code on ubuntu in C
#include<stdio.h>
#include<stdlib.h>
int main()
{
FILE *fp;
char ch;
float ticktock;
int val;
fp=fopen("pt1.txt","rb");
while(!feof(fp))
{
sscanf(fp, "time=%f value=%d", &ticktock, &val);
printf("%f",ticktock);
printf("%d",val);
}
}
please send reply as soon as possible its urgent