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
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
Social Sciences,
1 month ago
English,
1 month ago
Science,
1 month ago
Math,
2 months ago
History,
9 months ago