View Code of Problem 1

#include <stdio.h>

int main(){
  int a;
  int b;
  scanf("%d %d",&a,&b)
  printf("%d",a+b)
}
/*
Main.cc: In function 'int main()':
Main.cc:7:3: error: expected ';' before 'printf'
   printf("%d",a+b)
   ^
*/

Double click to view unformatted code.


Back to problem 1