Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
275 B
2
Indexable
Never
// C program to illustrate
// command line arguments
#include<stdio.h>

int main(int argc,char* argv[])
{
	int a= argv[1];
	int b= argv[2];
	
	int c=0;
	
	while(b>=a)
	{
	    b=b-a;
	    c=c+1;
	}
	printf("b is: %d",b);
	printf("c is: %d",c)
	return 0;
}