View Code of Problem 1

#include <stdio.h>

void mian ()
{
  int A,B;
  scanf("%d %d",&A,%B);
  
  printf("%d",A+B);

}
/*
Main.c: In function 'mian':
Main.c:6:20: error: expected expression before '%' token
   scanf("%d %d",&A,%B);
                    ^
*/

Double click to view unformatted code.


Back to problem 1