Computer Science, asked by Prabuddha810, 2 months ago

B) Pind the errors and rewrite the statement block
1 int a==5.5=6 ans
ans = (a+b)*3
printf(The answer is, ans)
2. #include(stdio.h)
main
printf("Hello world")
getch()
} ​

Answers

Answered by Kalihacker
0

Explanation:

1)

#include <stdio.h>

int main() {

int a=5,b=6,ans;

ans=(a+b)*3;

printf("The answer is %d",ans);

}

2)

#include <stdio.h>

#include <conio.h>

int main() {

printf("Hello world");

getch();

}

Similar questions