View Code of Problem 3495

#include<stdio.h>      
using namespace std;
void find(int,int);
int main(){
	int a,b;
	while(scanf("%d%d",&a,&b)!=EOF){
		find(a,b);
	} 
	
	return 0;
}
void find(int a,int b){
	printf("%d\n",a%b);
}
/*
F:\temp\21436230.629740\Main.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace'
*/

Double click to view unformatted code.


Back to problem 3495